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

Map fields from coarser to finer mesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 21, 2013, 05:48
Default Map fields from coarser to finer mesh
  #1
Senior Member
 
Andrea Ferrari
Join Date: Dec 2010
Posts: 275
Rep Power: 7
Andrea_85 is on a distinguished road
Hi,

i have two identical geometries, one with coarser mesh and the other one with a finer mesh. The mesh is structured and the finer case has been constructed using refineMesh utility. I would like to map the initial condition on field "alpha1" (interFoam solver) from the coarser mesh to the finer mesh in order to get exactly the same initial condition for both simulations. Is this possibile?.

ps i used an external software to generate the initial alpha1 field in the coarser case and this software is no longer available for me. The initial condition is not triavial and i cannot reproduce it using setField or funkySetField.

Thanks

andrea
Andrea_85 is offline   Reply With Quote

Old   January 21, 2013, 05:50
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
Bernhard is on a distinguished road
What is your question? You know about the mapFields utility?
Bernhard is offline   Reply With Quote

Old   January 21, 2013, 06:02
Default
  #3
Senior Member
 
Andrea Ferrari
Join Date: Dec 2010
Posts: 275
Rep Power: 7
Andrea_85 is on a distinguished road
Hi, thank for reply

I read something about that on the forum, don't know how to use it.


thanks

andrea
Andrea_85 is offline   Reply With Quote

Old   January 21, 2013, 07:38
Default
  #4
Senior Member
 
Andrea Ferrari
Join Date: Dec 2010
Posts: 275
Rep Power: 7
Andrea_85 is on a distinguished road
Ok, i did not notice that there was an exhaustive paragraph on the user guide about how to use mapField for consistent geometries.
Now i solved it.

thank again

andrea
Andrea_85 is offline   Reply With Quote

Reply

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
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
Layers:problem with curvature giulio.topazio OpenFOAM Native Meshers: snappyHexMesh and Others 10 August 22, 2012 09:03
Resetting all fields and mesh motion wavemaster OpenFOAM Programming & Development 0 May 21, 2012 13:00
[ICEM] Problem making structured mesh on a surface froztbear ANSYS Meshing & Geometry 4 November 10, 2011 09:52
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


All times are GMT -4. The time now is 22:28.