CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Putting submesh field values into field on parent mesh

Register Blogs Community New Posts Updated Threads Search

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

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
helmut is offline   Reply With Quote

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

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, 08:31
Default fvMeshSubset gives you the map
  #3
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
fvMeshSubset gives you the mapping data and the interpolation functions - yo should not need anything else.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Reply


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 06:15
How to get Pressure field from velocity field qunwuhe@hotmail.com Main CFD Forum 4 October 14, 2007 08:38
Calculated Values in scalar field arkangel OpenFOAM Running, Solving & CFD 0 June 28, 2007 08:53
How to input Magnetic Field values in ESTER Code? Amit Gupta Phoenics 0 September 21, 2006 14:38
field by field decomposition vs. component-wise zhanglei Main CFD Forum 0 January 5, 2001 10:06


All times are GMT -4. The time now is 17:41.