CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Putting submesh field values into field on parent mesh (

helmut June 19, 2006 09:37

Hi, I've created a subMesh

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,

mattijs June 20, 2006 02:29

mapFields or modify subsetM

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

hjasak June 20, 2006 07:31

fvMeshSubset gives you the map
fvMeshSubset gives you the mapping data and the interpolation functions - yo should not need anything else.


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