|
[Sponsors] |
September 13, 2013, 15:16 |
adiabatic perfect fluid
|
#1 |
Member
Join Date: Sep 2013
Posts: 46
Rep Power: 13 |
Hi everyone!
I want to calculate a bubble with compressibleInterFoam with version 2.2.1. In the TermoPhysicalPropertiesair or ""water you can specify the equationOfState that is used. However it seems that adiabaticPerfectFluid (provided with the source code) is not a valid option. If I type "bla" into the entry and look at the list in the error message, only incompressiblePerfectFluid, PerfectGas, PerfectFluid, icoPolynomial are shown as valid. Is this an error in the code or am I wrong? I would like to use the equation from adiabaticPerfectFluid. Thanks! |
|
January 31, 2016, 07:34 |
|
#2 |
Member
Join Date: Nov 2014
Posts: 36
Rep Power: 12 |
Hi,
did you find solution to this? |
|
February 1, 2016, 07:12 |
|
#3 |
Member
Join Date: Sep 2013
Posts: 46
Rep Power: 13 |
Yes, it was my Master-Thesis. But I changed to OpenFoam extend 3.1. And changed the solver to my needs. Never worked with commercial OpenFoam anymore since then.
|
|
February 1, 2016, 12:22 |
|
#4 |
Member
Join Date: Nov 2014
Posts: 36
Rep Power: 12 |
Thank you for your reply. May I ask you for a case where you used the adiabaticPerfectFluid model? It would surely save me a few hours.
|
|
February 2, 2016, 13:02 |
|
#5 |
Member
Join Date: Sep 2013
Posts: 46
Rep Power: 13 |
Sorry, as I said, I used openfoam extend, which doesn't have this kind of structure. I didn't solve it with openfoam 221. What I did was taking the compressibleInterFoam from openfoam extend and then modified the equations of state p(rho) such that in pEqn.H and createFields.H they resemble an adiabatic one for the gas and the compressible Tait Equation for the liquid. See my article http://www.sciencedirect.com/science...45793015003795
Regards, Max |
|
May 9, 2016, 11:56 |
|
#6 |
New Member
chubb87
Join Date: May 2011
Posts: 21
Rep Power: 15 |
For me it is possible to use adiabaticPerfectFluid with standard OpenFoam version (2.4.0), which is the same as Tait equation I think.
Regards |
|
June 15, 2016, 12:41 |
|
#7 |
New Member
|
||
December 8, 2016, 21:13 |
|
#8 | |
New Member
Big Orange
Join Date: Mar 2016
Posts: 11
Rep Power: 10 |
Quote:
Regards, big orange |
||
December 9, 2016, 13:25 |
|
#9 | |
Member
Join Date: Sep 2013
Posts: 46
Rep Power: 13 |
Quote:
Have I already replied to your request? If not, here's a link to download the thesis: https://www.dropbox.com/s/rm9bctajnx...ation.pdf?dl=0 Best regards, Max |
||
December 9, 2016, 13:30 |
|
#10 | |
Member
Join Date: Sep 2013
Posts: 46
Rep Power: 13 |
Quote:
The point is, that the solver code differs in terms of putting the fluids into categories (resulting into some different handling of the top-level classes in the object-oriented structure) from extend to openfoam. No judgement. |
||
December 9, 2016, 20:32 |
|
#11 | |
New Member
Big Orange
Join Date: Mar 2016
Posts: 11
Rep Power: 10 |
Quote:
Thanks for your reply! I understand what you mean! |
||
July 22, 2017, 11:19 |
|
#12 |
New Member
Ram_Rahim
Join Date: Jul 2017
Posts: 2
Rep Power: 0 |
Hi ma-tri-x,
I found your thesis very interesting but I was wondering how you added the Tait equation. Is there any source code available online for that. If not, can you share any test case for the same to my email (ram22071989@gmail.com) ? :-) |
|
July 26, 2017, 11:20 |
Build in Tait-equation
|
#13 |
Member
Join Date: Sep 2013
Posts: 46
Rep Power: 13 |
Just replace the linear Equation of state in pEqn.H:
Code:
rho1 = rho10*pow((p+B1)/(pRef+B1),1.0/gamma1.value()); |
|
July 27, 2017, 06:16 |
|
#14 |
New Member
Ram_Rahim
Join Date: Jul 2017
Posts: 2
Rep Power: 0 |
Thank you for your reply but is this the only thing required to implement TAIT equation of state for water as suggested in your thesis shared above?
Thank you again |
|
October 13, 2020, 06:57 |
|
#15 |
New Member
Join Date: Aug 2019
Posts: 19
Rep Power: 7 |
I'm also trying to use the adiabaticPerfectFluid, in theory is the best, but how can I change the value of the constant K (Bulk Modulus)? since K=rho/psi
|
|
Tags |
adiabaticperfectfluid, compressibleinterfoam, termophysicalproperties, version 2.2.1 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unstabil Simulation with chtMultiRegionFoam | mbay101 | OpenFOAM Running, Solving & CFD | 13 | December 28, 2013 14:12 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
Fluid Structure Interaction | Apollo | Main CFD Forum | 5 | July 4, 2011 17:15 |
fluid structure interaction | taru agrawal | FLUENT | 4 | September 10, 2007 04:12 |
What is the total energy for incompressible fluid? | Harry Dong | Main CFD Forum | 12 | February 4, 2006 01:55 |