Loading...
Searching...
No Matches
UnsteadyProblem Class Reference

#include <UnsteadyProblem.H>

Inheritance diagram for UnsteadyProblem:
Burgers unsteadyNS usmsrProblem tutorial23 UnsteadyBB UnsteadyNSExplicit UnsteadyNSTurb UnsteadyNSTurbIntrusive tutorial04 tutorial14 tutorial17 unsteadyNST msr msr

Public Member Functions

 UnsteadyProblem ()
 
void setTimes (Time &timeObject)
 
bool checkWrite (Time &timeObject)
 Function to check if the solution must be exported.
 

Public Attributes

scalar startTime
 Start Time (initial time to start storing the snapshots)
 
scalar finalTime
 Final time (final time of the simulation and consequently of the acquisition of the snapshots)
 
scalar timeStep
 Time step of the simulation.
 
scalar writeEvery = timeStep
 Time step of the writing procedure.
 
scalar nextWrite
 Auxiliary variable to store the next writing instant.
 

Detailed Description

Definition at line 36 of file UnsteadyProblem.H.

Constructor & Destructor Documentation

◆ UnsteadyProblem()

UnsteadyProblem::UnsteadyProblem ( )
inline

Definition at line 39 of file UnsteadyProblem.H.

Member Function Documentation

◆ checkWrite()

bool UnsteadyProblem::checkWrite ( Time & timeObject)

Function to check if the solution must be exported.

Parameters
timeObjectThe time object of OpenFOAM.
Returns
1 if we must write 0 elsewhere.

Definition at line 37 of file UnsteadyProblem.C.

◆ setTimes()

void UnsteadyProblem::setTimes ( Time & timeObject)

Definition at line 53 of file UnsteadyProblem.C.

Member Data Documentation

◆ finalTime

scalar UnsteadyProblem::finalTime

Final time (final time of the simulation and consequently of the acquisition of the snapshots)

Definition at line 46 of file UnsteadyProblem.H.

◆ nextWrite

scalar UnsteadyProblem::nextWrite

Auxiliary variable to store the next writing instant.

Definition at line 55 of file UnsteadyProblem.H.

◆ startTime

scalar UnsteadyProblem::startTime

Start Time (initial time to start storing the snapshots)

Definition at line 43 of file UnsteadyProblem.H.

◆ timeStep

scalar UnsteadyProblem::timeStep

Time step of the simulation.

Definition at line 49 of file UnsteadyProblem.H.

◆ writeEvery

scalar UnsteadyProblem::writeEvery = timeStep

Time step of the writing procedure.

Definition at line 52 of file UnsteadyProblem.H.


The documentation for this class was generated from the following files: