Skip to content

Commit

Permalink
[oneD] Remove hardcoded solution bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl committed Mar 26, 2023
1 parent b3dcc95 commit 572ea0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/oneD/StFlow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ StFlow::StFlow(ThermoPhase* ph, size_t nsp, size_t points) :
m_qdotRadiation.resize(m_points, 0.0);

//-------------- default solution bounds --------------------
setBounds(0, -1e20, 1e20); // no bounds on u
setBounds(1, -1e20, 1e20); // V
setBounds(2, 200.0, 2*m_thermo->maxTemp()); // temperature bounds
setBounds(3, -1e20, 1e20); // lambda should be negative
setBounds(c_offset_U, -1e20, 1e20); // no bounds on u
setBounds(c_offset_V, -1e20, 1e20); // V
setBounds(c_offset_T, 200.0, 2*m_thermo->maxTemp()); // temperature bounds
setBounds(c_offset_L, -1e20, 1e20); // lambda should be negative
setBounds(c_offset_E, -1e20, 1e20); // no bounds for inactive component

// mass fraction bounds
Expand Down

0 comments on commit 572ea0e

Please sign in to comment.