|July 5, 2011, 16:22||
Region Adaptation using command line
Ghazlani M. Ali
Join Date: May 2011
Blog Entries: 23Rep Power: 20
I've been doing some iterations on a cluster using a journal file. After getting my solution i decided to do some mesh refinement using region adaptation. I can do that using the GUI interface and using sphere shape , what if i want to convert that in a journal file so the cluster can read it and execute it . Note that the cluster can't use GUI interface i only use journale like:
Thanks in advance.
|July 6, 2011, 04:14||
Kristian Etienne Einarsrud
Join Date: Oct 2010
Posts: 29Rep Power: 6
First, you want to define a region (a register) in which you want to alter your mesh. Assuming you want to alter the mesh in a rectangular region, the appropriate TUI command is:
Fluent will then ask you the following questions:
"Mark cells inside hexahedron?" Answer yes or no whether you want the region inside or outside your specified rectangle
"Define hexahedron with mous clicks?" Answer no
"Enter minimum x of range (m)" Minimum x-value
"Enter maximum x of range (m)" Maximum x-value
"Enter minimum y of range (m)" Minimum y-value
"Enter maximum y of range (m)" Maximum y-value
Fluent will then print the number of cells which have been marked for refinement.
Now you need to tell fluent to adapt this register. This is done with the command:
Fluent will then ask the following:
"register ID/name" This is the name of the register you just created. If you only have one, it's name should be 0. In all cases, it is an integer greater or equal to 0.
"Minimum allowable vell volume (m3)" I typically use 0.
"Maximum allowable number of cells" I use 0 here also, this appears to give Fluent the freedom to choose what is appropriate.
"Ok to change mesh?" Here you should answer yes.
Fluent will now print what has changed due to adaptation.
|adaptation, command, region|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Multi region meshing & recovering the original patch names||fluidpath||OpenFOAM Native Meshers: snappyHexMesh and Others||4||May 19, 2013 19:13|
|Using starToFoam||clo||OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...||33||September 26, 2012 04:04|
|StarToFoam error||Kart||OpenFOAM Meshing & Mesh Conversion||1||February 4, 2010 05:38|
|Trimmed cell and embedded refinement mesh conversion issues||michele||OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...||2||July 15, 2005 04:15|
|Import gmsh msh to Foam||adorean||Open Source Meshers: Gmsh, Netgen, CGNS, ...||24||April 27, 2005 08:19|