LifeV
|
OneDFSISourceLinear - Class for the linear source function S of the 1D hyperbolic problem. More...
#include <OneDFSISourceLinear.hpp>
Type definitions and Enumerators | |
typedef OneDFSISource | super |
Constructors & Destructor | |
OneDFSISourceLinear () | |
Empty constructor. More... | |
OneDFSISourceLinear (const physicsPtr_Type physicsPtr) | |
Constructor. More... | |
virtual | ~OneDFSISourceLinear () |
Do nothing destructor. More... | |
Methods | |
Real | source (const Real &U1, const Real &U2, const ID &row, const UInt &iNode) const |
Evaluate the source term. More... | |
Real | dSdU (const Real &U1, const Real &U2, const ID &row, const ID &colum, const UInt &iNode) const |
Evaluate the derivative of the source term. More... | |
Real | interpolatedNonConservativeSource (const Real &U1, const Real &U2, const ID &row, const container2D_Type &bcNodes, const Real &cfl) const |
Evaluate the non-conservative form of the source term at the foot of the outgoing characteristic. More... | |
Unimplemented Methods | |
OneDFSISourceLinear (const OneDFSISourceLinear &source) | |
OneDFSISourceLinear & | operator= (const OneDFSISourceLinear &source) |
Additional Inherited Members | |
Public Types inherited from OneDFSISource | |
typedef FactorySingleton< Factory< OneDFSISource, OneDFSI::sourceTerm_Type > > | factorySource_Type |
typedef OneDFSIPhysics | physics_Type |
typedef std::shared_ptr< physics_Type > | physicsPtr_Type |
typedef OneDFSIData::container2D_Type | container2D_Type |
Public Member Functions inherited from OneDFSISource | |
OneDFSISource () | |
Empty constructor. More... | |
OneDFSISource (const physicsPtr_Type physicsPtr) | |
Constructor. More... | |
virtual | ~OneDFSISource () |
Do nothing destructor. More... | |
void | setPhysics (const physicsPtr_Type &physicsPtr) |
Set the physics of the problem. More... | |
physicsPtr_Type | physics () const |
Get the physics of the problem. More... | |
Protected Attributes inherited from OneDFSISource | |
physicsPtr_Type | M_physicsPtr |
OneDFSISourceLinear - Class for the linear source function S of the 1D hyperbolic problem.
The conservative form of the generic hyperbolic problem is
where are the conservative variables, the corresponding fluxes, and represents the source terms.
In the present implementation we have:
The assumed wall-law is
This class implements all the interfaces required for the computation of and its derivatives.
Definition at line 89 of file OneDFSISourceLinear.hpp.
typedef OneDFSISource super |
Definition at line 97 of file OneDFSISourceLinear.hpp.
|
inlineexplicit |
Empty constructor.
Definition at line 106 of file OneDFSISourceLinear.hpp.
|
inlineexplicit |
Constructor.
physicsPtr | pointer to the physics of the problem |
Definition at line 112 of file OneDFSISourceLinear.hpp.
|
inlinevirtual |
Do nothing destructor.
Definition at line 115 of file OneDFSISourceLinear.hpp.
|
explicitprivate |
Evaluate the source term.
U1 | first unknown |
U2 | second unknown |
row | row of the source term |
iNode | node of the mesh |
Implements OneDFSISource.
Definition at line 50 of file OneDFSISourceLinear.cpp.
|
virtual |
Evaluate the derivative of the source term.
U1 | first unknown |
U2 | second unknown |
row | row of the derivative of the source term |
column | column of the derivative of the source term |
iNode | node of the mesh |
Implements OneDFSISource.
Definition at line 69 of file OneDFSISourceLinear.cpp.
|
virtual |
Evaluate the non-conservative form of the source term at the foot of the outgoing characteristic.
This method is used for imposing the compatibility equations at the boundaries. It interpolates the value between to nodes.
U1 | first unknown |
U2 | second unknown |
row | row of the source term |
bcNodes | list of boundary nodes |
cfl | cfl used to identify the foot of the characteristic |
Implements OneDFSISource.
Definition at line 92 of file OneDFSISourceLinear.cpp.
|
private |