CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Putting submesh field values into field on parent mesh

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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 19, 2006, 09:37
Default Hi, I've created a subMesh
New Member
Helmut Roth
Join Date: Mar 2009
Posts: 23
Rep Power: 15
helmut is on a distinguished road

I've created a subMesh from a cellSet of a parent mesh and solved for some fields on the subMesh. Now I'd like to transfer the values of those subMesh fields back to fields on the parent mesh. Any ideas on how to do this in OpenFoam?

Thanks and best regards,
helmut is offline   Reply With Quote

Old   June 20, 2006, 02:29
Default mapFields or modify subsetM
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 24
mattijs is on a distinguished road

or modify subsetMesh to store the cellMap(), faceMap() etc from fvMeshSubset and use these to map back.

These maps are from the subsetted mesh back to the original
mattijs is offline   Reply With Quote

Old   June 20, 2006, 07:31
Default fvMeshSubset gives you the map
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,879
Rep Power: 31
hjasak will become famous soon enough
fvMeshSubset gives you the mapping data and the interpolation functions - yo should not need anything else.

Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting:
hjasak is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[mesh manipulation] Mesh refinemt by scalar field zurdo OpenFOAM Meshing & Mesh Conversion 3 January 9, 2008 05:15
How to get Pressure field from velocity field Main CFD Forum 4 October 14, 2007 07:38
Calculated Values in scalar field arkangel OpenFOAM Running, Solving & CFD 0 June 28, 2007 07:53
How to input Magnetic Field values in ESTER Code? Amit Gupta Phoenics 0 September 21, 2006 13:38
field by field decomposition vs. component-wise zhanglei Main CFD Forum 0 January 5, 2001 09:06

All times are GMT -4. The time now is 15:32.