Skip to content

Commit 41624d6

Browse files
committed
throw error if rotational periodicity is used with NEMO
1 parent f36c376 commit 41624d6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

SU2_CFD/src/solvers/CSolver.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,10 @@ void CSolver::InitiatePeriodicComms(CGeometry *geometry,
342342

343343
if (commType == PERIODIC_NONE) return;
344344

345+
if (rotate_periodic && config->GetNEMOProblem()) {
346+
SU2_MPI::Error("The NEMO solvers do not support rotational periodicity yet.", CURRENT_FUNCTION);
347+
}
348+
345349
/*--- Local variables ---*/
346350

347351
bool boundary_i, boundary_j;
@@ -816,7 +820,7 @@ void CSolver::InitiatePeriodicComms(CGeometry *geometry,
816820

817821
Rotate(translation, distance, rotCoord_j);
818822

819-
/*--- Get conservative solution and rotte if necessary. ---*/
823+
/*--- Get conservative solution and rotate if necessary. ---*/
820824

821825
for (iVar = 0; iVar < ICOUNT; iVar++)
822826
rotPrim_j[iVar] = field(jPoint,iVar);

0 commit comments

Comments
 (0)