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

fectorvield-values at meshpoints

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2009, 05:53
Default fectorvield-values at meshpoints
  #1
New Member
 
Join Date: Aug 2009
Posts: 4
Rep Power: 17
studrud is on a distinguished road
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?
studrud is offline   Reply With Quote

Old   August 11, 2009, 10:25
Default
  #2
Member
 
Niklas Winkler
Join Date: Mar 2009
Location: Stockholm, Stockholm, Sweden
Posts: 73
Rep Power: 17
nikwin is on a distinguished road
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
nikwin is offline   Reply With Quote

Old   August 11, 2009, 12:25
Default
  #3
New Member
 
Join Date: Aug 2009
Posts: 4
Rep Power: 17
studrud is on a distinguished road
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
studrud is offline   Reply With Quote

Old   August 12, 2009, 09:36
Default
  #4
New Member
 
Join Date: Aug 2009
Posts: 4
Rep Power: 17
studrud is on a distinguished road
no one any ideas?
studrud 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
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 32 June 16, 2021 07:55
Ensight - node values -cell values leo FLUENT 1 May 12, 2010 09:47
exact face values RubenG Main CFD Forum 0 June 22, 2009 12:09
strange node values @ solid/fluid interface - help JB FLUENT 2 November 1, 2008 13:04
node values or cell values? aPpA FLUENT 0 November 10, 2006 09:56


All times are GMT -4. The time now is 22:47.