37#define _USE_MATH_DEFINES
46 explicit tutorial23(
int argc,
char* argv[])
55 void offlineSolve(word folder =
"./ITHACAoutput/Offline/")
71int main(
int argc,
char* argv[])
78 int NmodesUout = para->ITHACAdict->lookupOrDefault<
int>(
"NmodesUout", 15);
Header file of the Burgers class.
Header file of the ITHACAPOD class.
autoPtr< volVectorField > _U
Velocity field.
PtrList< volVectorField > Ufield
List of pointers used to form the velocity snapshots matrix.
Burgers()
Null constructor.
Class for the definition of some general parameters, the parameters must be defined from the file ITH...
static ITHACAparameters * getInstance()
Gets an instance of ITHACAparameters, to be used if the instance is already existing.
bool offline
Boolean variable, it is 1 if the Offline phase has already been computed, else 0.
void truthSolve()
Perform a TruthSolve.
Class where the tutorial number 2 is implemented.
volVectorField & U
Velocity field.
void getModes(PtrList< GeometricField< Type, PatchField, GeoMesh > > &snapshots, PtrList< GeometricField< Type, PatchField, GeoMesh > > &modes, word fieldName, bool podex, bool supex, bool sup, label nmodes, bool correctBC)
Computes the bases or reads them for a field.
void readMiddleFields(PtrList< GeometricField< Type, PatchField, GeoMesh > > &Lfield, GeometricField< Type, PatchField, GeoMesh > &field, fileName casename)
Funtion to read a list of volVectorField from name of the field including all the intermediate snapsh...