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

OF and Cp

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By tomf

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2017, 05:43
Default OF and Cp
  #1
Member
 
badoumba
Join Date: Aug 2013
Posts: 68
Rep Power: 12
badoumba is on a distinguished road
Hi guys,

Many external aerodynamics visuals use Cp as scalar. Can I generate these values directly from an OF function instead of calculating them in Paraview?

Thanks!
badoumba is offline   Reply With Quote

Old   August 30, 2017, 03:55
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 637
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

Yes you can via a pressure functionObject. A preconfigured example can be found in:

Code:
$FOAM_ETC/caseDicts/postProcessing/pressure/staticPressure.cfg
For the coefficient you would have to change the line

Code:
calcCoeff     no;
to

Code:
calcCoeff     yes;
Tobi likes this.
tomf is offline   Reply With Quote

Old   September 1, 2017, 13:45
Default
  #3
Member
 
badoumba
Join Date: Aug 2013
Posts: 68
Rep Power: 12
badoumba is on a distinguished road
Thanks Tomf.

Also available as postProcess function, which is perfect for me.
badoumba 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



All times are GMT -4. The time now is 09:35.