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

Mapping fields from fvMesh to tetPolyMesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 28, 2008, 02:34
Default Hello everyone, for applyin
  #1
Member
 
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 95
Rep Power: 9
hannes is on a distinguished road
Hello everyone,

for applying a numerical integration algorithm in postprocessing, I need my fields on a tetrahedral mesh.
I thought of doing this by mapping the fields on a tetPolyMeshFaceDecomp-Mesh. Creating such a mesh is not the problem, but I don't know how to map my volVectorFields to tetPointVectorFields.
Is there a quick way of doing this? I found the tetPolyMeshMapper class, but I'm not sure if this could be applied.

Thanks, Hannes
hannes is offline   Reply With Quote

Old   August 28, 2008, 03:27
Default Hannes, check these: - v
  #2
Member
 
Tommaso Lucchini
Join Date: Mar 2009
Posts: 82
Rep Power: 8
lucchini is on a distinguished road
Hannes,

check these:

- volPointInterpolation class, and how it is used by the spray class to interpolate the cell center values at the lagrangian position

- fvMotionSolver, where the mesh motion calculated in a cell centre is then interpolated at the mesh points positions.

hope this can be useful,

regards

Tommaso
lucchini is offline   Reply With Quote

Old   August 28, 2008, 05:42
Default Thanks for the hint, Tommaso.
  #3
Member
 
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 95
Rep Power: 9
hannes is on a distinguished road
Thanks for the hint, Tommaso.

After analyzing the order of the points in the point list (built in "tetPolyMeshFaceDecomp::points()") it seems to me, that I just have to hook up the point-, surface- and cell fields after another to get the tetPointField.

Regards, Hannes
hannes 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
MultiDirRefinement class Bug on mapping fields zurdo OpenFOAM Bugs 12 December 17, 2007 05:54
Mapping volsurface symmTensor fields after a topological change jcmasters OpenFOAM Bugs 1 September 4, 2007 13:48
Error after mapping fields alberto OpenFOAM Pre-Processing 0 November 2, 2006 19:47
Mapping fields hsieh OpenFOAM Pre-Processing 3 September 14, 2005 19:56
FvMesh henry OpenFOAM Meshing Format & General Technical 2 April 19, 2005 04:38


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