CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   Steam property implementation in SU2 (https://www.cfd-online.com/Forums/su2/153385-steam-property-implementation-su2.html)

evan247 May 25, 2015 06:36

Steam property implementation in SU2
 
Hi all,

I'm fairly new to SU2 so would appreciate it if someone can advise where I may find how steam properties (or any real gas, in general) are implemented in the code.

Thanks!

salvovitale May 27, 2015 11:06

Hi,
are you interested in the implementation or in the use of SU2 with more complex Equation of State?

At the moment in SU2 are available (beside the Ideal Gas Law) a Polytropic Van der Waals model and a Polytropic Peng-Robinson model.
The source code of this library is available under SU2_CFD/src/fluid_model_*.cpp. We are currently working to have SU2 linked with an external fluid library to use more complex EoS and using an efficient Look-Up Table approach. However the interface is completely general and any other built-in model or external library can be easily coupled with the solver.

If you want just to run a simulation for steam you should use the VW models or PR model. Hereafter an example.

case 1 using Van der Waals

FLUID_MODEL= VW_GAS


% Specific gas constant (J/kg*K)
GAS_CONSTANT= 461.53

% Ratio of specific heats
GAMMA_VALUE= - (Put an average value for you simulation: i.e. an average value of your inlet and outlet conditions)

% Critical Temperature ( Kelvin)
CRITICAL_TEMPERATURE= 647.1

% Critical Pressure (N/m^2)
CRITICAL_PRESSURE= 22064000


case 2 using Peng-Robinson

the same as case 1 but with one more option for the acentric factor:

% Acentri factor (0.035 (air))
ACENTRIC_FACTOR= 0.3443

The constants used in the examples are already for water and are taken from the fluids database of RefProp.


cheers

salvo

ssyadav February 2, 2020 21:19

Properties of liquid water in SU2
 
Dear All


We are trying to simulate the water hammer problem where compression waves travel in water and say, in a steel pipe, when a valve is suddenly closed.


My question is: How can we select / implement equation of state for liquid water for the compressible formulation in SU2?


Thanks for the help.


Regards


All times are GMT -4. The time now is 07:28.