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

Cv/Cp in Openfoam 8?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 18, 2021, 08:00
Default Cv/Cp in Openfoam 8?
  #1
Member
 
Claudia
Join Date: Mar 2021
Posts: 43
Rep Power: 5
Clau.77 is on a distinguished road
Hey guys!


So i measured some Cp values, got a polynomial function and now want to use it for my solid region in my multiregion case.


I noticed, that in OF8 the input value is Cv and not Cp. Do i need to calculate the cv values first? (I mean cv = cp-R). Or is OF allready doing that by itself since I the molar Mass is also given in the thermodynamicProperties file?


Please don't tell me to look into the code, i tried that but sinde i am not familiar with C++ (or programming in general) it is super confusing for me.


I'd appreciate some help here
Clau.77 is offline   Reply With Quote

Old   August 18, 2021, 10:17
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,071
Rep Power: 26
Yann will become famous soon enough
Hi Claudia,

This is related to the fact the energy form for solids has been switched from sensibleEnthalpy to sensibleInternalEnergy in OpenFOAM 8 : https://github.com/OpenFOAM/OpenFOAM...d30ec6916e73a1

Since the cases use sensibleInternalEnergy now, Cv is used instead of Cp. (see documentation here)

You can either switch you solid back to sensibleEnthalpy or keep it this way and use Cv values.

Since solids are usually considered incompressible, I am not sure there is a significant difference between Cp and Cv.


I hope this helps,
Yann
Yann 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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 13:36
OpenFOAM Foundation Releases OpenFOAM v2.3.0 opencfd OpenFOAM Announcements from OpenFOAM Foundation 3 December 23, 2014 03:43
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


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