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

Putting submesh field values into field on parent mesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 19, 2006, 09:37
Default Hi, I've created a subMesh
  #1
New Member
 
Helmut Roth
Join Date: Mar 2009
Posts: 23
Rep Power: 8
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, 02:29
Default mapFields or modify subsetM
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
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, 07:31
Default fvMeshSubset gives you the map
  #3
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,753
Rep Power: 21
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

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
Mesh refinemt by scalar field zurdo OpenFOAM Mesh Utilities 3 January 9, 2008 06:15
How to get Pressure field from velocity field qunwuhe@hotmail.com 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 10:06


All times are GMT -4. The time now is 07:26.