CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Region Adaptation using command line

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 5, 2011, 17:22
Default Region Adaptation using command line
  #1
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 29
diamondx will become famous soon enough
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.
diamondx is offline   Reply With Quote

Old   July 6, 2011, 05:14
Default
  #2
New Member
 
Kristian Etienne Einarsrud
Join Date: Oct 2010
Location: Trondheim
Posts: 29
Rep Power: 16
KristianEtienne is on a distinguished road
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
KristianEtienne is offline   Reply With Quote

Old   July 6, 2011, 12:40
Default
  #3
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 29
diamondx will become famous soon enough
dear Kristian Etienne,
it worked flawlessly, thanks you so much !!!

Ali.
diamondx is offline   Reply With Quote

Reply

Tags
adaptation, command, region


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 14:57.