# spatial distribution of force coefficients in paraview&openfoam

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

 April 17, 2013, 05:03 spatial distribution of force coefficients in paraview&openfoam #1 Member   Kai Join Date: Jan 2013 Location: Japan Posts: 88 Rep Power: 4 hi everyone! i am now doing some simulations about flow around a 3D cylinder with OpenFOAM. The simulation goes well but i got a problem with post-processing. basically i need to get the spatial distribution of the force coefficients on the surface along the span wise direction, as is shown in the picture below. i know that adding functions in controlDict could give me the force coefficients, but that seems to be the average value along the whole cylinder, which is not what i want. is there anyone who knows how to do this in paraview? any help is appreciated!

April 21, 2013, 07:15
#2
Assistant Moderator

Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
Quote:
 Originally Posted by kkpal hi everyone! i am now doing some simulations about flow around a 3D cylinder with OpenFOAM. The simulation goes well but i got a problem with post-processing. basically i need to get the spatial distribution of the force coefficients on the surface along the span wise direction, as is shown in the picture below. i know that adding functions in controlDict could give me the force coefficients, but that seems to be the average value along the whole cylinder, which is not what i want. is there anyone who knows how to do this in paraview? any help is appreciated!
Paraview can only work with data that has been written to disk. AFAIK the forcesCoeffs-functionObject doesn't write it to disk. What you can do is replicate the calculations it does using the primitive Values (density, velocity etc) that get written. For that you can use the (Python)-Calculator in Paraview. There are other ways too but these involve programming and/or ThirdPArty-software
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request

 Tags cylinder, force coefficients, spatial distribution

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post be_inspired OpenFOAM Programming & Development 8 July 3, 2014 10:54 tfuwa OpenFOAM Post-Processing 1 June 27, 2013 06:49 kkpal ParaView 0 April 17, 2013 04:43 colopolo CFX 13 October 4, 2011 22:03 nchu286 FLOW-3D 1 December 20, 2009 04:44

All times are GMT -4. The time now is 02:18.