Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Refining an existing mesh with BK

Refining an existing mesh with BK 7 years 6 months ago #26471

  • special_20
  • special_20's Avatar
Hello all,

I want to refine an existing mesh in Blue Kenue by dividing the current elements in 4. The 4 new elements would be defined by the middle of the segments of the previous element. Can you please tell me if it is possible to do so in Blue Kenue ?

Regards.
The administrator has disabled public write access.

Refining an existing mesh with BK 7 years 6 months ago #26472

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi Sébastien

I don't think it's possible with BK but this exist in stbtel in telemac...
and in the latest version of telemac, there is an option for automatic refinement for such needs

Regards
Christophe
The administrator has disabled public write access.

Refining an existing mesh with BK 7 years 6 months ago #26478

  • a.barton
  • a.barton's Avatar
  • OFFLINE
  • Moderator
  • Posts: 683
  • Thank you received: 178
I've been told that typically in Blue Kenue this is not done because a refined mesh would end up having a coarse outline. Therefore, in Blue Kenue, a new, refined mesh is created by resampling the outline at a higher density and then building a new mesh based on the new, finer, outline.

That being said, I'll add this request into a potential ideas for Blue Kenue implementation list ;)

Kindly,
Alan
The administrator has disabled public write access.

Refining an existing mesh with BK 7 years 6 months ago #26479

  • special_20
  • special_20's Avatar
Hello,

Yes Christophe this what I want to do. My question now is : how can "I ask" stbtel to do this ? Is there a keyword to set in the .cas file ?

Regards.
The administrator has disabled public write access.

Refining an existing mesh with BK 7 years 6 months ago #26480

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Yes there is a dedicated keyword for that...
From the dictionary:

NOM = 'DECOUPAGE DES TRIANGLES EN QUATRE'
NOM1 = 'CUTTING ELEMENTS IN FOUR'

You could also make the refinement only in a polygon if needed...

I just checked and this is also possible and probably easier in Fudaa-Prepro.
Just select the geometry, right-click and choose "traitement du maillage" (in french)

Regards
Christophe
The administrator has disabled public write access.

Refining an existing mesh with BK 7 years 6 months ago #26500

  • special_20
  • special_20's Avatar
Hi,

I added the keyword "DECOUPAGE DES TRIANGLES EN QUATRE" in my cas file but when I run a simulation I get the following error :

Running telemac.cas with telemac2d under /home/globc/parisot/HYDRO/v6p3/bol_angle_droit
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... reading module dictionary
_____________
runcode::main:
      /home/globc/parisot/HYDRO/v6p3/bol_angle_droit:
      uncontroled error from python:: KeyError('CUTTING ELEMENTS IN FOUR',)
~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
  File "runcode.py", line 1085, in <module>
    runCAS(cfgname,cfg,codeName,casFile,options)
  File "runcode.py", line 600, in runCAS
    cas,lang = processCAS(casFile,dico,frgb)
  File "runcode.py", line 161, in processCAS
    cas = readCAS(scanCAS(casFile),dico,frgb)
  File "/home/globc/parisot/HYDRO/v6p3/scripts/python27/parsers/parserKeywords.py", line 144, in readCAS
    if kw not in dico.keys(): kw = frgb['GB'][kw]
KeyError: 'CUTTING ELEMENTS IN FOUR'
~~~~~~~~~~~~~~~~~~

I do not understand why I get this error, can you help me ?

Regards
The administrator has disabled public write access.

Refining an existing mesh with BK 7 years 6 months ago #26503

  • special_20
  • special_20's Avatar
I realise I do not know how stbtel works. Can you please tell how to set a simple cas file for stbtel so that I can save my refined mesh into a slf file ?

Regards
The administrator has disabled public write access.

Refining an existing mesh with BK 7 years 6 months ago #26509

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi Sébastien
There is a test case for stbtel named refinement :angry:

Did you try to use the fudaa solution which could be a user friendly alternative?

Regards
Christophe
The administrator has disabled public write access.

Refining an existing mesh with BK 7 years 6 months ago #26483

  • Serrer
  • Serrer's Avatar
  • OFFLINE
  • Moderator
  • Posts: 720
  • Thank you received: 304
Hi Guys,

There is no current function in Blue Kenue to do a wholesale split of all elements.
But there are a couple of strategies in Blue Kenue that can help with local mesh refinement.

Method 1. If you want to refine a small area.
  • Use "Edit->T3 Mesh->Delete Elements in Polygon" to create a hole.
  • "Tools->T3 Mesh->Extract Edges" will give you a "shoreline" around the hole.
  • Use the mesher to create a detailed mesh in the hole.
  • Use "Edit->T3 Mesh->Merge Mesh" to insert your refined submesh.

Method 2. If you just want to refine a few elements
  • Use "View->T3 Mesh Toolbar" to show the mesh edit toolbar.
  • Select an element or an edge (with <left-double click>)
  • Use one of the Split Element, Split Edge commands
  • Repeat as required

Of course, the preferred method would be to simply change the density values stored in your t3m file and re-run the mesher. ;-)

Hope this helps... Martin
The administrator has disabled public write access.

Refining an existing mesh with BK 7 years 6 months ago #26492

  • special_20
  • special_20's Avatar
Thank you Serrer for your answer. The method I want to use is the one indicated by c.coulet but I keep yours in mind just in case.

Regards
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: Serrer, a.barton

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.