Ewoms::StokesProblem< TypeTag > Class Template Reference Base class for all problems which use the Stokes model. More...
Inheritance diagram for Ewoms::StokesProblem< TypeTag >:
Detailed Descriptiontemplate<class TypeTag>
|
|
inline |
References EWOMS_GET_PARAM.
|
inlineinherited |
Called by the simulator after everything which can be done about the current time step is finished and the model should be prepared to do the next time integration.
References Ewoms::FvBaseProblem< TypeTag >::model().
|
inlineinherited |
Called at the beginning of an simulation episode.
|
inlineinherited |
Called by the simulator before each Newton-Raphson iteration.
|
inlineinherited |
Called by the simulator before each time integration.
|
inlineinherited |
Evaluate the boundary conditions for a boundary segment.
values | Stores the fluxes over the boundary segment. |
context | The object representing the execution context from which this method is called. |
spaceIdx | The local index of the spatial entity which represents the boundary segment. |
timeIdx | The index used for the time discretization |
|
inlineinherited |
The coordinate of the corner of the GridView's bounding box with the largest values.
|
inlineinherited |
The coordinate of the corner of the GridView's bounding box with the smallest values.
|
inlineinherited |
Evaluate the constraints for a control volume.
constraints | Stores the values of the primary variables at a given spatial and temporal location. |
context | The object representing the execution context from which this method is called. |
spaceIdx | The local index of the spatial entity which represents the boundary segment. |
timeIdx | The index used for the time discretization |
|
inlineinherited |
Method to retrieve the VTK writer which should be used to write the default ouput after each time step to disk.
|
inlineinherited |
This method restores the complete state of the problem from disk.
It is the inverse of the serialize() method.
Restarter | The deserializer type |
res | The deserializer object |
References Ewoms::VtkMultiWriter< GridView, vtkFormat >::deserialize().
|
inlineinherited |
Returns the mapper for elements to indices.
|
inlineinherited |
Called when the end of an simulation episode is reached.
Typically, a new episode is started in this method.
References Ewoms::Simulator< TypeTag >::episodeIndex(), and Ewoms::FvBaseProblem< TypeTag >::simulator().
|
inlineinherited |
Called by the simulator after each Newton-Raphson update.
|
inlineinherited |
Called by the simulator after each time integration.
This method is intended to do some post processing of the solution. (e.g., some additional output)
|
inlineinherited |
Return how much the domain is extruded at a given sub-control volume.
This means the factor by which a lower-dimensional (1D or 2D) entity needs to be expanded to get a full dimensional cell. The default is 1.0 which means that 1D problems are actually thought as pipes with a cross section of 1 m^2 and 2D problems are assumed to extend 1 m to the back.
context | The object representing the execution context from which this method is called. |
spaceIdx | The local index of the spatial entity which represents the boundary segment. |
timeIdx | The index used for the time discretization |
|
inlineinherited |
|
inlineinherited |
Called after the simulation has been run sucessfully.
References Ewoms::FvBaseProblem< TypeTag >::gridView(), Ewoms::Simulator< TypeTag >::humanReadableTime(), Ewoms::ThreadManager< TypeTag >::maxThreads(), Ewoms::Simulator< TypeTag >::prePostProcessTime(), Ewoms::Timer::realTimeElapsed(), Ewoms::Simulator< TypeTag >::setupTime(), Ewoms::FvBaseProblem< TypeTag >::simulator(), Ewoms::Simulator< TypeTag >::timer(), and Ewoms::Simulator< TypeTag >::totalWriteTime().
|
inlineinherited |
Called by the Ewoms::Simulator in order to initialize the problem.
If you overload this method don't forget to call ParentType::finishInit()
|
inline |
Returns the acceleration due to gravity.
If the EnableGravity
property is true, this means , else
Context | The type of the execution context. |
context | The execution context. |
spaceIdx | The local index used by the space discretization. |
timeIdx | The index used by the time discretization. |
|
inline |
Returns the acceleration due to gravity.
If the EnableGravity
property is true, this means , else
|
inlineinherited |
The GridView which used by the problem.
Referenced by Ewoms::FvBaseProblem< TypeTag >::finalize(), Ewoms::FvBaseProblem< TypeTag >::timeIntegration(), and Ewoms::FvBaseProblem< TypeTag >::writeOutput().
|
inline |
Returns the heat capacity [J/(K m^3)] of the solid phase disconsidering pores.
Context | The type of the execution context. |
context | The execution context. |
spaceIdx | The local index used by the space discretization. |
timeIdx | The index used by the time discretization. |
|
inline |
Returns the parameter object for the heat conductivity law in a sub-control volume.
Context | The type of the execution context. |
context | The execution context. |
spaceIdx | The local index used by the space discretization. |
timeIdx | The index used by the time discretization. |
|
inlineinherited |
Evaluate the initial value for a control volume.
values | Stores the primary variables. |
context | The object representing the execution context from which this method is called. |
spaceIdx | The local index of the spatial entity which represents the boundary segment. |
timeIdx | The index used for the time discretization |
|
inlineinherited |
Callback used by the model to indicate that the initial solution has been determined for all degrees of freedom.
|
inlineinherited |
Returns numerical model used for the problem.
References Ewoms::Simulator< TypeTag >::model().
Referenced by Ewoms::FvBaseProblem< TypeTag >::advanceTimeLevel(), Ewoms::FvBaseProblem< TypeTag >::newtonMethod(), Ewoms::FvBaseProblem< TypeTag >::timeIntegration(), and Ewoms::FvBaseProblem< TypeTag >::writeOutput().
|
inlineinherited |
Returns numerical model used for the problem.
References Ewoms::Simulator< TypeTag >::model().
|
inlineinherited |
The problem name.
This is used as a prefix for files generated by the simulation. It is highly recommend to overwrite this method in the concrete problem which is simulated.
Referenced by Ewoms::FvBaseProblem< TypeTag >::FvBaseProblem().
|
inlineinherited |
Returns object which implements the Newton method.
References Ewoms::FvBaseProblem< TypeTag >::model().
Referenced by Ewoms::FvBaseProblem< TypeTag >::nextTimeStepSize(), and Ewoms::FvBaseProblem< TypeTag >::timeIntegration().
|
inlineinherited |
Returns object which implements the Newton method.
References Ewoms::FvBaseProblem< TypeTag >::model().
|
inlineinherited |
Called by Ewoms::Simulator whenever a solution for a time step has been computed and the simulation time has been updated.
References EWOMS_GET_PARAM, Ewoms::Simulator< TypeTag >::maxTimeStepSize(), Ewoms::FvBaseProblem< TypeTag >::newtonMethod(), and Ewoms::FvBaseProblem< TypeTag >::simulator().
|
inlinestatic |
Register all run-time parameters for the problem.
References EWOMS_REGISTER_PARAM, and Ewoms::FvBaseProblem< TypeTag >::registerParameters().
|
inlineinherited |
This method writes the complete state of the problem to the harddisk.
The file will start with the prefix returned by the name() method, has the current time of the simulation clock in it's name and uses the extension .ers
. (Ewoms ReStart file.) See Ewoms::Restart for details.
Restarter | The serializer type |
res | The serializer object |
References Ewoms::VtkMultiWriter< GridView, vtkFormat >::serialize().
|
inlineinherited |
Returns true if the current solution should be written to disk (i.e. as a VTK file)
The default behavior is to write out the solution for every time step. This method is should be overwritten by the implementation if the default behavior is deemed insufficient.
|
inlineinherited |
Returns true if a restart file should be written to disk.
The default behavior is to write one restart file every 10 time steps. This method should be overwritten by the implementation if the default behavior is deemed insufficient.
References Ewoms::FvBaseProblem< TypeTag >::simulator(), and Ewoms::Simulator< TypeTag >::timeStepIndex().
|
inlineinherited |
Returns Simulator object used by the simulation.
Referenced by Ewoms::FvBaseProblem< TypeTag >::endEpisode(), Ewoms::FvBaseProblem< TypeTag >::finalize(), Ewoms::FvBaseProblem< TypeTag >::nextTimeStepSize(), Ewoms::FvBaseProblem< TypeTag >::shouldWriteRestartFile(), Ewoms::FvBaseProblem< TypeTag >::timeIntegration(), and Ewoms::FvBaseProblem< TypeTag >::writeOutput().
|
inlineinherited |
Returns Simulator object used by the simulation.
|
inlineinherited |
Returns the total wall time spend on solving the system [s].
|
inlineinherited |
Evaluate the source term for all phases within a given sub-control-volume.
rate | Stores the values of the volumetric creation/anihilition rates of the conserved quantities. |
context | The object representing the execution context from which this method is called. |
spaceIdx | The local index of the spatial entity which represents the boundary segment. |
timeIdx | The index used for the time discretization |
|
inline |
Returns the temperature at a spatial and temporal position within the domain.
Context | The type of the execution context. |
context | The execution context. |
spaceIdx | The local index used by the space discretization. |
timeIdx | The index used by the time discretization. |
|
inline |
Returns the temperature within the domain.
This method MUST be overwritten by the actual problem.
|
inlineinherited |
Called by Ewoms::Simulator in order to do a time integration on the model.
References EWOMS_GET_PARAM, Ewoms::FvBaseProblem< TypeTag >::gridView(), Ewoms::NewtonMethod< TypeTag >::linearizeTime(), Ewoms::FvBaseProblem< TypeTag >::model(), Ewoms::FvBaseProblem< TypeTag >::newtonMethod(), Ewoms::Simulator< TypeTag >::setTimeStepSize(), Ewoms::FvBaseProblem< TypeTag >::simulator(), Ewoms::NewtonMethod< TypeTag >::solveTime(), Ewoms::Simulator< TypeTag >::timeStepSize(), and Ewoms::NewtonMethod< TypeTag >::updateTime().
|
inlineinherited |
Returns the total wall time spend on updating the iterative solutions [s].
|
inlineinherited |
Returns the mapper for vertices to indices.
|
inlineinherited |
Write the relevant secondary variables of the current solution into an VTK output file.
verbose | Specify if a message should be printed whenever a file is written |
References Ewoms::VtkMultiWriter< GridView, vtkFormat >::beginWrite(), Ewoms::VtkMultiWriter< GridView, vtkFormat >::endWrite(), Ewoms::FvBaseProblem< TypeTag >::gridView(), Ewoms::FvBaseProblem< TypeTag >::model(), Ewoms::FvBaseProblem< TypeTag >::simulator(), Ewoms::Simulator< TypeTag >::time(), and Ewoms::Simulator< TypeTag >::timeStepSize().