fectorvield-values at meshpoints
hello,
i have a problem with getting results at the meshpoints. i'm doing structure-fluid-coupling and i need the pressure at all meshpoints for stucture-fluid-interpolation. to get the pressure at the meshcells is an easy doing, but i have no idea how to get the pressure at the meshpoints. can someone help me? |
volPointInterpolation can be used to obtain a point<type>Field from a vol<type>Field as the example below
pointMesh pMesh(mesh); volPointInterpolation interpMesh(mesh, pMesh); pointVectorField pField(interpMesh.interpolate(volField)); Regards /NW |
thank you for the fast answer nikwin,
where should i interpolate the volumefield to the pointfield? at the solver or at foamToVtk? how can i write out the data in an extra file? regards RN |
no one any ideas?
|
All times are GMT -4. The time now is 23:29. |