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

Region Adaptation using command line

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 5, 2011, 16:22
Default Region Adaptation using command line
  #1
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Canada
Posts: 1,216
Blog Entries: 22
Rep Power: 18
diamondx will become famous soon enough
Send a message via MSN to diamondx
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, 04:14
Default
  #2
New Member
 
Kristian Etienne Einarsrud
Join Date: Oct 2010
Location: Trondheim
Posts: 29
Rep Power: 5
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, 11:40
Default
  #3
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Canada
Posts: 1,216
Blog Entries: 22
Rep Power: 18
diamondx will become famous soon enough
Send a message via MSN to diamondx
dear Kristian Etienne,
it worked flawlessly, thanks you so much !!!

Ali.
diamondx is offline   Reply With Quote

Reply

Tags
adaptation, command, region

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
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 04: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


All times are GMT -4. The time now is 12:09.