Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Standard initialization for Incompressible flows using thermodynamic_pressure and the Inc_Temperature_init #2137

Closed
wants to merge 38 commits into from
Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
f21e9f4
using thermodynamic pressure for Inc Ideal gas models
Cristopher-Morales Sep 15, 2023
4ad661a
update test cases options
Cristopher-Morales Sep 18, 2023
5c4bb37
moving options
Cristopher-Morales Sep 20, 2023
ecfe347
deleting INC_DENSITY_INIT from test cases
Cristopher-Morales Sep 20, 2023
710b8c1
thermodynamics pressure update
Cristopher-Morales Sep 20, 2023
aa1e93a
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Sep 28, 2023
d2ca719
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Oct 3, 2023
0727f72
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Oct 16, 2023
aa68bae
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Oct 26, 2023
bef45c4
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Nov 1, 2023
36827d4
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Nov 11, 2023
9025377
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Nov 22, 2023
6984f49
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Nov 23, 2023
aa0682e
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Dec 6, 2023
1f26c1e
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Dec 7, 2023
f697ab8
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Dec 8, 2023
9f3df7a
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Feb 12, 2024
355a2dd
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Feb 17, 2024
d7dde2f
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Feb 20, 2024
ab68bab
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Feb 25, 2024
3efb756
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Feb 26, 2024
c3990ab
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Feb 26, 2024
d28406a
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Feb 28, 2024
57ca1b0
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Mar 4, 2024
a3d8d59
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Mar 7, 2024
8fee817
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Mar 18, 2024
f43d403
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Apr 3, 2024
c68989c
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Apr 15, 2024
a34d6b7
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Apr 18, 2024
84cd93f
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Apr 18, 2024
b04ce49
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Apr 21, 2024
c7225d3
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Apr 22, 2024
3d2ecd8
Merge branch 'develop' into feature_incompressible
Cristopher-Morales May 6, 2024
3c97262
Merge branch 'develop' into feature_incompressible
Cristopher-Morales May 14, 2024
a9e0d01
Merge branch 'develop' into feature_incompressible
Cristopher-Morales May 14, 2024
0d25e77
Merge branch 'develop' into feature_incompressible
Cristopher-Morales May 14, 2024
cf973be
Merge branch 'develop' into feature_incompressible
bigfooted Jun 4, 2024
cd99fcf
Merge branch 'develop' into feature_incompressible
Cristopher-Morales Jun 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Common/include/CConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,7 @@ class CConfig {
su2double Gamma, /*!< \brief Ratio of specific heats of the gas. */
Bulk_Modulus, /*!< \brief Value of the bulk modulus for incompressible flows. */
Beta_Factor, /*!< \brief Value of the epsilon^2 multiplier for Beta for the incompressible preconditioner. */
Density_Constant, /*!< \brief Constant Density for ConstantDensity model (only for incompressible flows). */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a test

Gas_Constant, /*!< \brief Specific gas constant. */
Gas_ConstantND, /*!< \brief Non-dimensional specific gas constant. */
*Molecular_Weight; /*!< \brief Molecular weight of an incompressible ideal gas (g/mol). */
Expand All @@ -831,8 +832,7 @@ class CConfig {
Thermal_Expansion_CoeffND, /*!< \brief Non-dimensional thermal expansion coefficient. */
Inc_Density_Ref, /*!< \brief Reference density for custom incompressible non-dim. */
Inc_Velocity_Ref, /*!< \brief Reference velocity for custom incompressible non-dim. */
Inc_Temperature_Ref, /*!< \brief Reference temperature for custom incompressible non-dim. */
Inc_Density_Init, /*!< \brief Initial density for incompressible flows. */
Inc_Temperature_Ref, /*!< \brief Reference temperature for custom incompressible non-dim. */
Inc_Temperature_Init, /*!< \brief Initial temperature for incompressible flows w/ heat transfer. */
Heat_Flux_Ref, /*!< \brief Reference heat flux for non-dim. */
Gas_Constant_Ref, /*!< \brief Reference specific gas constant. */
Expand Down Expand Up @@ -1668,6 +1668,12 @@ class CConfig {
*/
su2double GetMolecular_Weight(unsigned short val_index = 0) const { return Molecular_Weight[val_index]; }

/*!
* \brief Get the value of the constant density for incompressible flows.
* \return Constant density for incompressible flows when CONSTANT_DENSITY fluid model is used.
*/
su2double GetInc_Constant_Density(void) const { return Density_Constant; }

/*!
* \brief Get the value of specific heat at constant pressure.
* \return Value of the constant: Cp
Expand Down Expand Up @@ -2080,12 +2086,6 @@ class CConfig {
*/
su2double GetInc_Temperature_Ref(void) const { return Inc_Temperature_Ref; }

/*!
* \brief Get the value of the initial density for incompressible flows.
* \return Initial density for incompressible flows.
*/
su2double GetInc_Density_Init(void) const { return Inc_Density_Init; }

/*!
* \brief Get the value of the initial velocity for incompressible flows.
* \return Initial velocity for incompressible flows.
Expand Down
10 changes: 8 additions & 2 deletions Common/src/CConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,9 @@ void CConfig::SetConfig_Options() {
/* DESCRIPTION: default value for AIR */
addDoubleListOption("MU_CONSTANT", nMu_Constant, Mu_Constant);

/*!\brief CONSTANT_DENSITY \n DESCRIPTION: Constant density for incompressible flows (1.2886 kg/m^3 by default) \ingroup Config*/
addDoubleOption("DENSITY_CONSTANT", Density_Constant, 1.2886);

/*--- Options related to Sutherland Viscosity Model ---*/

/* DESCRIPTION: Sutherland Viscosity Ref default value for AIR SI */
Expand Down Expand Up @@ -1334,8 +1337,6 @@ void CConfig::SetConfig_Options() {
addDoubleOption("INC_VELOCITY_REF", Inc_Velocity_Ref, 1.0);
/*!\brief INC_TEMPERATURE_REF \n DESCRIPTION: Reference temperature for incompressible flows with the energy equation (1.0 by default) \ingroup Config*/
addDoubleOption("INC_TEMPERATURE_REF", Inc_Temperature_Ref, 1.0);
/*!\brief INC_DENSITY_INIT \n DESCRIPTION: Initial density for incompressible flows (1.2886 kg/m^3 by default) \ingroup Config*/
addDoubleOption("INC_DENSITY_INIT", Inc_Density_Init, 1.2886);
/*!\brief INC_VELOCITY_INIT \n DESCRIPTION: Initial velocity for incompressible flows (1.0,0,0 m/s by default) \ingroup Config*/
vel_init[0] = 1.0; vel_init[1] = 0.0; vel_init[2] = 0.0;
addDoubleArrayOption("INC_VELOCITY_INIT", 3, vel_init);
Expand Down Expand Up @@ -3022,6 +3023,11 @@ void CConfig::SetConfig_Parsing(istream& config_buffer){
newString.append("DYNAMIC_ANALYSIS is deprecated. Use TIME_DOMAIN instead.\n\n");
else if (!option_name.compare("SPECIES_USE_STRONG_BC"))
newString.append("SPECIES_USE_STRONG_BC is deprecated. Use MARKER_SPECIES_STRONG_BC= (marker1, ...) instead.\n\n");
else if (!option_name.compare("INC_DENSITY_INIT"))
newString.append(
"INC_DENSITY_INIT is deprecated. The initial density is computed using the ideal gas law based on the "
"THERMODYNAMICS_PRESSURE and INC_TEMPERATURE_INIT. For Using the FLUID_MODEL=CONSTANT_DENSITY, the "
"constant density must be given using the following option DENSITY_CONSTANT.\n\n");
Comment on lines +3054 to +3057
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We just released a major version, we are not breaking backward compatibility for an important setting like this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, we can wait for a major version to implement a change in config option. But now, sometimes we use thermodynamic pressure and sometimes we use density (to compute thermodynamic pressure) and I think the inconsistency should be fixed at some point, and I think it should be fixed in this way.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not saying we cannot fix things, but the option needs to be deprecated more gracefully than this.
As for the inconsistency between density init and pressure init we can use a similar strategy to the compressible solver.

/*!
 * \brief Types of initialization option
 */
enum class FREESTREAM_OPTION {
  TEMPERATURE_FS, /*!< \brief Temperature initialization. */
  DENSITY_FS, /*!< \brief Density initalization. */
};

else {
/*--- Find the most likely candidate for the unrecognized option, based on the length
of start and end character sequences shared by candidates and the option. ---*/
Expand Down
17 changes: 8 additions & 9 deletions SU2_CFD/src/solvers/CIncEulerSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ void CIncEulerSolver::SetNondimensionalization(CConfig *config, unsigned short i

/*--- Compute dimensional free-stream values. ---*/

Density_FreeStream = config->GetInc_Density_Init(); config->SetDensity_FreeStream(Density_FreeStream);
Temperature_FreeStream = config->GetInc_Temperature_Init(); config->SetTemperature_FreeStream(Temperature_FreeStream);
Pressure_FreeStream = 0.0; config->SetPressure_FreeStream(Pressure_FreeStream);

Expand All @@ -291,24 +290,24 @@ void CIncEulerSolver::SetNondimensionalization(CConfig *config, unsigned short i

case CONSTANT_DENSITY:

auxFluidModel = new CConstantDensity(Density_FreeStream, config->GetSpecific_Heat_Cp());
auxFluidModel = new CConstantDensity(config->GetInc_Constant_Density(), config->GetSpecific_Heat_Cp());
auxFluidModel->SetTDState_T(Temperature_FreeStream);
Density_FreeStream= auxFluidModel->GetDensity(); config->SetDensity_FreeStream(Density_FreeStream);
break;

case INC_IDEAL_GAS:

config->SetGas_Constant(UNIVERSAL_GAS_CONSTANT/(config->GetMolecular_Weight()/1000.0));
Pressure_Thermodynamic = Density_FreeStream*Temperature_FreeStream*config->GetGas_Constant();
Pressure_Thermodynamic = config->GetPressure_Thermodynamic();
auxFluidModel = new CIncIdealGas(config->GetSpecific_Heat_Cp(), config->GetGas_Constant(), Pressure_Thermodynamic);
auxFluidModel->SetTDState_T(Temperature_FreeStream);
Pressure_Thermodynamic = auxFluidModel->GetPressure();
config->SetPressure_Thermodynamic(Pressure_Thermodynamic);
Density_FreeStream= auxFluidModel->GetDensity(); config->SetDensity_FreeStream(Density_FreeStream);
break;

case INC_IDEAL_GAS_POLY:

config->SetGas_Constant(UNIVERSAL_GAS_CONSTANT/(config->GetMolecular_Weight()/1000.0));
Pressure_Thermodynamic = Density_FreeStream*Temperature_FreeStream*config->GetGas_Constant();
Pressure_Thermodynamic = config->GetPressure_Thermodynamic();
auxFluidModel = new CIncIdealGasPolynomial<N_POLY_COEFFS>(config->GetGas_Constant(), Pressure_Thermodynamic);
if (viscous) {
/*--- Variable Cp model via polynomial. ---*/
Expand All @@ -317,8 +316,7 @@ void CIncEulerSolver::SetNondimensionalization(CConfig *config, unsigned short i
auxFluidModel->SetCpModel(config);
}
auxFluidModel->SetTDState_T(Temperature_FreeStream);
Pressure_Thermodynamic = auxFluidModel->GetPressure();
config->SetPressure_Thermodynamic(Pressure_Thermodynamic);
Density_FreeStream= auxFluidModel->GetDensity(); config->SetDensity_FreeStream(Density_FreeStream);
break;

case FLUID_MIXTURE:
Expand All @@ -327,15 +325,16 @@ void CIncEulerSolver::SetNondimensionalization(CConfig *config, unsigned short i
Pressure_Thermodynamic = config->GetPressure_Thermodynamic();
auxFluidModel = new CFluidScalar(config->GetSpecific_Heat_Cp(), config->GetGas_Constant(), Pressure_Thermodynamic, config);
auxFluidModel->SetTDState_T(Temperature_FreeStream, config->GetSpecies_Init());
Density_FreeStream= auxFluidModel->GetDensity(); config->SetDensity_FreeStream(Density_FreeStream);
break;

case FLUID_FLAMELET:

config->SetGas_Constant(UNIVERSAL_GAS_CONSTANT / (config->GetMolecular_Weight() / 1000.0));
Pressure_Thermodynamic = config->GetPressure_Thermodynamic();
auxFluidModel = new CFluidFlamelet(config, Pressure_Thermodynamic);
config->SetPressure_Thermodynamic(Pressure_Thermodynamic);
auxFluidModel->SetTDState_T(Temperature_FreeStream, config->GetSpecies_Init());
Density_FreeStream= auxFluidModel->GetDensity(); config->SetDensity_FreeStream(Density_FreeStream);
break;

default:
Expand Down
2 changes: 1 addition & 1 deletion TestCases/coupled_cht/disc_adj_incomp_2d/flow_cylinder.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ MARKER_MONITORING= (cylinder_outer1, cylinder_outer2, cylinder_outer3)
%
INC_DENSITY_MODEL= VARIABLE
INC_ENERGY_EQUATION = YES
INC_DENSITY_INIT= 0.000210322
INC_VELOCITY_INIT= ( 3.40297, 0.0, 0.0 )
INC_TEMPERATURE_INIT= 288.15
INC_NONDIM= DIMENSIONAL
Expand All @@ -37,6 +36,7 @@ INC_NONDIM= DIMENSIONAL
FLUID_MODEL= INC_IDEAL_GAS
SPECIFIC_HEAT_CP= 1004.703
MOLECULAR_WEIGHT= 28.96
THERMODYNAMIC_PRESSURE = 17.39861946

% --------------------------- VISCOSITY MODEL ---------------------------------%
%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ OBJECTIVE_WEIGHT= 0.0
INC_NONDIM= DIMENSIONAL
% ~Water at room temperature
INC_DENSITY_MODEL= CONSTANT
INC_DENSITY_INIT= 1.0e3
DENSITY_CONSTANT = 1.0e3
%
% Re = rho*v*d/mu_dyn = 1e3*v*1/1e-3 = 200 => v = 2.0e-4
INC_VELOCITY_INIT= ( 2.0e-4, 0.0, 0.0 )
Expand Down
2 changes: 1 addition & 1 deletion TestCases/coupled_cht/incomp_2d/flow_cylinder.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ MARKER_MONITORING= (cylinder_outer1, cylinder_outer2, cylinder_outer3)
%
INC_DENSITY_MODEL= VARIABLE
INC_ENERGY_EQUATION = YES
INC_DENSITY_INIT= 0.000210322
INC_VELOCITY_INIT= ( 3.40297, 0.0, 0.0 )
INC_TEMPERATURE_INIT= 288.15
INC_NONDIM= DIMENSIONAL
Expand All @@ -35,6 +34,7 @@ INC_NONDIM= DIMENSIONAL
FLUID_MODEL= INC_IDEAL_GAS
SPECIFIC_HEAT_CP= 1004.703
MOLECULAR_WEIGHT= 28.96
THERMODYNAMIC_PRESSURE = 17.39861946

% --------------------------- VISCOSITY MODEL ---------------------------------%
%
Expand Down
2 changes: 1 addition & 1 deletion TestCases/coupled_cht/incomp_2d_unsteady/flow_cylinder.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ MARKER_MONITORING= (cylinder_outer1, cylinder_outer2, cylinder_outer3)
%
INC_DENSITY_MODEL= VARIABLE
INC_ENERGY_EQUATION = YES
INC_DENSITY_INIT= 0.0210322
INC_VELOCITY_INIT= ( 3.40297, 0.0, 0.0 )
INC_TEMPERATURE_INIT= 288.15
INC_NONDIM= DIMENSIONAL
Expand All @@ -35,6 +34,7 @@ INC_NONDIM= DIMENSIONAL
FLUID_MODEL= INC_IDEAL_GAS
SPECIFIC_HEAT_CP= 1004.703
MOLECULAR_WEIGHT= 28.96
THERMODYNAMIC_PRESSURE = 1739.861946

% --------------------------- VISCOSITY MODEL ---------------------------------%
%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ AXISYMMETRIC = NO
% ---------------- INCOMPRESSIBLE FLOW CONDITION DEFINITION -------------------%
%
INC_DENSITY_MODEL= CONSTANT
DENSITY_CONSTANT= 1.1728
INC_ENERGY_EQUATION = NO
INC_DENSITY_INIT= 1.1728
INC_VELOCITY_INIT= (1.0, 0.0, 0.0 )
INC_TEMPERATURE_INIT= 300.0
INC_INLET_TYPE= VELOCITY_INLET
Expand Down
4 changes: 2 additions & 2 deletions TestCases/disc_adj_heat/disc_adj_heat.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ ITER = 11

INC_DENSITY_MODEL= CONSTANT

INC_ENERGY_EQUATION= NO
DENSITY_CONSTANT= 998.2

INC_DENSITY_INIT= 998.2
INC_ENERGY_EQUATION= NO

INC_VELOCITY_INIT= ( 0.25, 0.0, 0.0 )

Expand Down
2 changes: 1 addition & 1 deletion TestCases/disc_adj_heat/primal.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ OBJECTIVE_FUNCTION= TOTAL_HEATFLUX
% ---------------- INCOMPRESSIBLE FLOW CONDITION DEFINITION -------------------%

INC_DENSITY_MODEL= CONSTANT
DENSITY_CONSTANT= 998.2
INC_ENERGY_EQUATION= NO
INC_DENSITY_INIT= 998.2
INC_VELOCITY_INIT= ( 0.25, 0.0, 0.0 )
INC_TEMPERATURE_INIT= 300.0
INC_NONDIM= INITIAL_VALUES
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ READ_BINARY_RESTART= NO

% ---------------- INCOMPRESSIBLE FLOW CONDITION DEFINITION -------------------%
%
INC_DENSITY_INIT= 1.2886
DENSITY_CONSTANT= 1.2886
INC_VELOCITY_INIT= ( 33.1588, 1.15793, 0.0 )

% ---------------------- REFERENCE VALUE DEFINITION ---------------------------%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ RESTART_SOL= NO
%
INC_DENSITY_MODEL= VARIABLE
INC_ENERGY_EQUATION = YES
INC_DENSITY_INIT= 0.000210322
INC_VELOCITY_INIT= ( 3.40297, 0.0, 0.0 )
INC_TEMPERATURE_INIT= 288.15

Expand All @@ -28,6 +27,7 @@ INC_TEMPERATURE_INIT= 288.15
FLUID_MODEL= INC_IDEAL_GAS
SPECIFIC_HEAT_CP= 1004.703
MOLECULAR_WEIGHT= 28.96
THERMODYNAMIC_PRESSURE = 17.39861946

% --------------------------- VISCOSITY MODEL ---------------------------------%
%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RESTART_SOL= NO

% -------------------- INCOMPRESSIBLE FREE-STREAM DEFINITION ------------------%
%
INC_DENSITY_INIT= 2.13163
DENSITY_CONSTANT= 2.13163
% AoA 10 deg
INC_VELOCITY_INIT= ( 51.36481493540834, 9.0570027322096198, 0.0 )

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RESTART_SOL= NO

% -------------------- INCOMPRESSIBLE FREE-STREAM DEFINITION ------------------%
%
INC_DENSITY_INIT= 2.13163
DENSITY_CONSTANT= 2.13163
% AoA 10 deg
INC_VELOCITY_INIT= ( 51.36481493540834, 9.0570027322096198, 0.0 )

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ RESTART_SOL = YES
%
INC_DENSITY_MODEL= FLAMELET
INC_ENERGY_EQUATION = YES
INC_DENSITY_INIT= 1.00
INC_VELOCITY_INIT= (0.5, 0.0, 0.0 )
INC_TEMPERATURE_INIT= 300.0
INC_NONDIM= DIMENSIONAL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ CUSTOM_OUTPUTS= 'avg_NOx : MassFlowAvg{SPECIES[3]}[outlet]'
% ---------------- INCOMPRESSIBLE FLOW CONDITION DEFINITION -------------------%
%
INC_DENSITY_MODEL= FLAMELET
INC_DENSITY_INIT= 1.1766
INC_VELOCITY_INIT= ( 0.2, 0, 0 )
INC_ENERGY_EQUATION= YES
INC_TEMPERATURE_INIT= 300.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ CUSTOM_OUTPUTS= 'avg_NOx : MassFlowAvg{SPECIES[3]}[outlet]'
% ---------------- INCOMPRESSIBLE FLOW CONDITION DEFINITION -------------------%
%
INC_DENSITY_MODEL= FLAMELET
INC_DENSITY_INIT= 1.1766
INC_VELOCITY_INIT= ( 0.2, 0, 0 )
INC_ENERGY_EQUATION= YES
INC_TEMPERATURE_INIT= 300.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ MARKER_SPECIES_STRONG_BC= (inlet, outlet, wall_burner)
% ---------------- INCOMPRESSIBLE FLOW CONDITION DEFINITION -------------------%

INC_DENSITY_MODEL= FLAMELET
INC_DENSITY_INIT= 1.1766
INC_VELOCITY_INIT= ( 0.2, 0, 0 )
INC_ENERGY_EQUATION= YES
INC_TEMPERATURE_INIT= 300.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ MARKER_SPECIES_STRONG_BC= (inlet, wall_burner)
% ---------------- INCOMPRESSIBLE FLOW CONDITION DEFINITION -------------------%

INC_DENSITY_MODEL= FLAMELET
INC_DENSITY_INIT= 1.1766
INC_VELOCITY_INIT= ( 0.2, 0, 0 )
INC_ENERGY_EQUATION= YES
INC_TEMPERATURE_INIT= 300.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ RESTART_SOL= YES
%
INC_DENSITY_MODEL= FLAMELET
INC_ENERGY_EQUATION= YES
INC_DENSITY_INIT= 1.00
INC_VELOCITY_INIT= (0.5, 0.0, 0.0 )
INC_TEMPERATURE_INIT= 300.0
INC_NONDIM= DIMENSIONAL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ RESTART_SOL= YES
%
INC_DENSITY_MODEL= VARIABLE
INC_ENERGY_EQUATION = YES
INC_DENSITY_INIT= 1.00
INC_VELOCITY_INIT= (0.7, 0.0, 0.0 )
INC_TEMPERATURE_INIT= 300.0
INC_NONDIM= DIMENSIONAL
Expand Down
2 changes: 1 addition & 1 deletion TestCases/incomp_euler/naca0012/incomp_NACA0012.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RESTART_SOL= NO

% ---------------- INCOMPRESSIBLE FLOW CONDITION DEFINITION -------------------%
%
INC_DENSITY_INIT= 998.2
DENSITY_CONSTANT= 998.2
INC_VELOCITY_INIT= ( 1.775, 0.0, 0.0 )
INC_INLET_TYPE= VELOCITY_INLET
INC_INLET_DAMPING= 0.1
Expand Down
2 changes: 1 addition & 1 deletion TestCases/incomp_euler/nozzle/inv_nozzle.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ RESTART_SOL= NO
% ---------------- INCOMPRESSIBLE FLOW CONDITION DEFINITION -------------------%
%
INC_DENSITY_MODEL= CONSTANT
DENSITY_CONSTANT= 1.0
INC_ENERGY_EQUATION = NO
INC_DENSITY_INIT= 1.0
INC_VELOCITY_INIT= ( 1.0, 0.0, 0.0 )
INC_TEMPERATURE_INIT= 288.15
INC_INLET_TYPE= PRESSURE_INLET
Expand Down
2 changes: 1 addition & 1 deletion TestCases/incomp_navierstokes/bend/lam_bend.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ RESTART_SOL= NO
% ---------------- INCOMPRESSIBLE FLOW CONDITION DEFINITION -------------------%
%
INC_DENSITY_MODEL= CONSTANT
DENSITY_CONSTANT= 1.2886
INC_ENERGY_EQUATION = NO
INC_DENSITY_INIT= 1.2886
INC_VELOCITY_INIT= ( 0.1, 0.0, 0.0 )
INC_TEMPERATURE_INIT= 288.15
INC_NONDIM= INITIAL_VALUES
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ INC_ENERGY_EQUATION = YES
%INC_DENSITY_INIT= 0.00018903539834 % Ra ~ 1e3
%INC_DENSITY_INIT= 0.00059778241716 % Ra ~ 1e4
%INC_DENSITY_INIT= 0.00189035398341 % Ra ~ 1e5
INC_DENSITY_INIT= 0.00597782417156 % Ra ~ 1e6
%INC_DENSITY_INIT= 0.00597782417156 % Ra ~ 1e6
%
INC_VELOCITY_INIT= ( 1.0, 0.0, 0.0 )
INC_TEMPERATURE_INIT= 288.15
Expand All @@ -34,6 +34,7 @@ INC_TEMPERATURE_INIT= 288.15
FLUID_MODEL= INC_IDEAL_GAS
SPECIFIC_HEAT_CP= 1004.703
MOLECULAR_WEIGHT= 28.96
THERMODYNAMIC_PRESSURE = 494.5078878

% --------------------------- VISCOSITY MODEL ---------------------------------%
%
Expand Down
2 changes: 1 addition & 1 deletion TestCases/incomp_navierstokes/cylinder/incomp_cylinder.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RESTART_SOL= NO

% ---------------- INCOMPRESSIBLE FLOW CONDITION DEFINITION -------------------%
%
INC_DENSITY_INIT= 998.2
DENSITY_CONSTANT= 998.2
INC_VELOCITY_INIT= ( 0.000008, 0.0, 0.0 )

% --------------------------- VISCOSITY MODEL ---------------------------------%
Expand Down
2 changes: 1 addition & 1 deletion TestCases/incomp_navierstokes/cylinder/poly_cylinder.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ RESTART_SOL= NO
%
INC_DENSITY_MODEL= VARIABLE
INC_ENERGY_EQUATION = YES
INC_DENSITY_INIT= 0.000210322
INC_VELOCITY_INIT= ( 3.40297, 0.0, 0.0 )
INC_TEMPERATURE_INIT= 288.15
INC_NONDIM= DIMENSIONAL
Expand All @@ -31,6 +30,7 @@ FLUID_MODEL= INC_IDEAL_GAS_POLY
SPECIFIC_HEAT_CP= 1004.703
MOLECULAR_WEIGHT= 28.96
CP_POLYCOEFFS= ( 1004.703, 0.1, 0.0, 0.0, 0.0)
THERMODYNAMIC_PRESSURE = 17.39861946

% --------------------------- VISCOSITY MODEL ---------------------------------%
%
Expand Down
Loading