Skip to content

Commit 72632af

Browse files
authored
Merge pull request #2266 from su2code/fix_cornernode_comp
Fix shared wall-inlet corner node for compressible
2 parents cde8892 + 2de834c commit 72632af

File tree

7 files changed

+180
-212
lines changed

7 files changed

+180
-212
lines changed

Common/src/CConfig.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5610,16 +5610,16 @@ void CConfig::SetPostprocessing(SU2_COMPONENT val_software, unsigned short val_i
56105610
/*--- Define some variables for flamelet model. ---*/
56115611
if (Kind_Species_Model == SPECIES_MODEL::FLAMELET) {
56125612
/*--- The controlling variables are progress variable, total enthalpy, and optionally mixture fraction ---*/
5613-
//n_control_vars = nSpecies - n_user_scalars;
56145613
if (n_control_vars != (nSpecies - n_user_scalars))
5615-
SU2_MPI::Error("Number of initial species incompatbile with number of controlling variables and user scalars.", CURRENT_FUNCTION);
5614+
SU2_MPI::Error("Number of initial species incompatible with number of controlling variables and user scalars.", CURRENT_FUNCTION);
56165615
/*--- We can have additional user defined transported scalars ---*/
56175616
n_scalars = n_control_vars + n_user_scalars;
56185617
}
56195618

56205619
if (Kind_Regime == ENUM_REGIME::COMPRESSIBLE && GetBounded_Scalar()) {
56215620
SU2_MPI::Error("BOUNDED_SCALAR discretization can only be used for incompressible problems.", CURRENT_FUNCTION);
56225621
}
5622+
56235623
}
56245624

56255625
void CConfig::SetMarkers(SU2_COMPONENT val_software) {

Common/src/geometry/CMultiGridGeometry.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ CMultiGridGeometry::CMultiGridGeometry(CGeometry* fine_grid, CConfig* config, un
3636
/*--- Create a queue system to do the agglomeration
3737
1st) More than two markers ---> Vertices (never agglomerate)
3838
2nd) Two markers ---> Edges (agglomerate if same BC, never agglomerate if different BC)
39-
3rd) One marker ---> Surface (always agglomarate)
40-
4th) No marker ---> Internal Volume (always agglomarate) ---*/
39+
3rd) One marker ---> Surface (always agglomerate)
40+
4th) No marker ---> Internal Volume (always agglomerate) ---*/
4141

4242
/*--- Set a marker to indicate indirect agglomeration, for quads and hexs,
4343
i.e. consider up to neighbors of neighbors of neighbors.

0 commit comments

Comments
 (0)