|
[Sponsors] |
July 5, 2011, 17:22 |
Region Adaptation using command line
|
#1 |
Super Moderator
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 29 |
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:
/file/save /solve/iterate Thanks in advance. |
|
July 6, 2011, 05:14 |
|
#2 |
New Member
Kristian Etienne Einarsrud
Join Date: Oct 2010
Location: Trondheim
Posts: 29
Rep Power: 16 |
Hi,
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: adapt/mark-inout-rectangle 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: adapt/adapt-to-register 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. Good luck! -KE |
|
Tags |
adaptation, command, region |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Multi region meshing & recovering the original patch names | fluidpath | OpenFOAM Meshing & Mesh Conversion | 4 | May 19, 2013 20:13 |
[Commercial meshers] Using starToFoam | clo | OpenFOAM Meshing & Mesh Conversion | 33 | September 26, 2012 05:04 |
[Other] StarToFoam error | Kart | OpenFOAM Meshing & Mesh Conversion | 1 | February 4, 2010 05:38 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |