Base class for all problems which use a finite volume spatial discretization.
More...
|
| | FvBaseProblem (Simulator &simulator) |
| |
| void | finishInit () |
| | Called by the Ewoms::Simulator in order to initialize the problem. More...
|
| |
| Scalar | solveTime () const |
| | Returns the total wall time spend on solving the system [s]. More...
|
| |
| Scalar | updateTime () const |
| | Returns the total wall time spend on updating the iterative solutions [s]. More...
|
| |
| template<class Context > |
| void | boundary (BoundaryRateVector &values, const Context &context, int spaceIdx, int timeIdx) const |
| | Evaluate the boundary conditions for a boundary segment. More...
|
| |
| template<class Context > |
| void | constraints (Constraints &constraints, const Context &context, int spaceIdx, int timeIdx) const |
| | Evaluate the constraints for a control volume. More...
|
| |
| template<class Context > |
| void | source (RateVector &rate, const Context &context, int spaceIdx, int timeIdx) const |
| | Evaluate the source term for all phases within a given sub-control-volume. More...
|
| |
| template<class Context > |
| void | initial (PrimaryVariables &values, const Context &context, int spaceIdx, int timeIdx) const |
| | Evaluate the initial value for a control volume. More...
|
| |
| template<class Context > |
| Scalar | extrusionFactor (const Context &context, int spaceIdx, int timeIdx) const |
| | Return how much the domain is extruded at a given sub-control volume. More...
|
| |
| Scalar | extrusionFactor () const |
| |
| void | initialSolutionApplied () |
| | Callback used by the model to indicate that the initial solution has been determined for all degrees of freedom. More...
|
| |
| void | beginEpisode () |
| | Called at the beginning of an simulation episode. More...
|
| |
| void | beginTimeStep () |
| | Called by the simulator before each time integration. More...
|
| |
| void | beginIteration () |
| | Called by the simulator before each Newton-Raphson iteration. More...
|
| |
| void | endIteration () |
| | Called by the simulator after each Newton-Raphson update. More...
|
| |
| void | endTimeStep () |
| | Called by the simulator after each time integration. More...
|
| |
| void | endEpisode () |
| | Called when the end of an simulation episode is reached. More...
|
| |
| void | finalize () |
| | Called after the simulation has been run sucessfully. More...
|
| |
| void | timeIntegration () |
| | Called by Ewoms::Simulator in order to do a time integration on the model. More...
|
| |
| Scalar | nextTimeStepSize () |
| | Called by Ewoms::Simulator whenever a solution for a time step has been computed and the simulation time has been updated. More...
|
| |
| bool | shouldWriteRestartFile () const |
| | Returns true if a restart file should be written to disk. More...
|
| |
| bool | shouldWriteOutput () const |
| | Returns true if the current solution should be written to disk (i.e. as a VTK file) More...
|
| |
| void | advanceTimeLevel () |
| | 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. More...
|
| |
| std::string | name () const |
| | The problem name. More...
|
| |
| const GridView & | gridView () const |
| | The GridView which used by the problem. More...
|
| |
| const GlobalPosition & | boundingBoxMin () const |
| | The coordinate of the corner of the GridView's bounding box with the smallest values. More...
|
| |
| const GlobalPosition & | boundingBoxMax () const |
| | The coordinate of the corner of the GridView's bounding box with the largest values. More...
|
| |
| const VertexMapper & | vertexMapper () const |
| | Returns the mapper for vertices to indices. More...
|
| |
| const ElementMapper & | elementMapper () const |
| | Returns the mapper for elements to indices. More...
|
| |
| Simulator & | simulator () |
| | Returns Simulator object used by the simulation. More...
|
| |
| const Simulator & | simulator () const |
| | Returns Simulator object used by the simulation. More...
|
| |
| Model & | model () |
| | Returns numerical model used for the problem. More...
|
| |
| const Model & | model () const |
| | Returns numerical model used for the problem. More...
|
| |
| NewtonMethod & | newtonMethod () |
| | Returns object which implements the Newton method. More...
|
| |
| const NewtonMethod & | newtonMethod () const |
| | Returns object which implements the Newton method. More...
|
| |
| template<class Restarter > |
| void | serialize (Restarter &res) |
| | This method writes the complete state of the problem to the harddisk. More...
|
| |
| template<class Restarter > |
| void | deserialize (Restarter &res) |
| | This method restores the complete state of the problem from disk. More...
|
| |
| void | writeOutput (bool verbose=true) |
| | Write the relevant secondary variables of the current solution into an VTK output file. More...
|
| |
| VtkMultiWriter & | defaultVtkWriter () const |
| | Method to retrieve the VTK writer which should be used to write the default ouput after each time step to disk. More...
|
| |
template<class TypeTag>
class Ewoms::FvBaseProblem< TypeTag >
Base class for all problems which use a finite volume spatial discretization.
- Note
- All quantities are specified assuming a threedimensional world. Problems discretized using 2D grids are assumed to be extruded by
and 1D grids are assumed to have a cross section of
.