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

fectorvield-values at meshpoints

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 11, 2009, 04:53
Default fectorvield-values at meshpoints
  #1
New Member
 
Join Date: Aug 2009
Posts: 4
Rep Power: 7
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, 09:25
Default
  #2
Member
 
Niklas Winkler
Join Date: Mar 2009
Location: Stockholm, Stockholm, Sweden
Posts: 73
Rep Power: 8
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, 11:25
Default
  #3
New Member
 
Join Date: Aug 2009
Posts: 4
Rep Power: 7
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, 08:36
Default
  #4
New Member
 
Join Date: Aug 2009
Posts: 4
Rep Power: 7
studrud is on a distinguished road
no one any ideas?
studrud 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
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 28 May 28, 2015 13:37
Ensight - node values -cell values leo FLUENT 1 May 12, 2010 08:47
exact face values RubenG Main CFD Forum 0 June 22, 2009 11: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 18:08.