LifeV
|
OneDFSISourceNonLinear - Class for the non-linear source function B of the 1D hyperbolic problem. More...
#include <OneDFSISourceNonLinear.hpp>
Type definitions and Enumerators | |
typedef OneDFSISource | super |
Constructors & Destructor | |
OneDFSISourceNonLinear () | |
Empty constructor. More... | |
OneDFSISourceNonLinear (const physicsPtr_Type physicsPtr) | |
Constructor. More... | |
virtual | ~OneDFSISourceNonLinear () |
Do nothing destructor. More... | |
Methods | |
Real | source (const Real &A, const Real &Q, const ID &row, const UInt &iNode) const |
Evaluate the source term. More... | |
Real | dSdU (const Real &A, const Real &Q, const ID &row, const ID &column, const UInt &iNode) const |
Evaluate the derivative of the source term. More... | |
Real | interpolatedNonConservativeSource (const Real &A, const Real &Q, 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 | |
OneDFSISourceNonLinear (const OneDFSISourceNonLinear &source) | |
OneDFSISourceNonLinear & | operator= (const OneDFSISourceNonLinear &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 |
OneDFSISourceNonLinear - Class for the non-linear source function B 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:
where
The assumed wall-law is
This class implements all the interfaces required for the computation of and its derivatives.
Definition at line 108 of file OneDFSISourceNonLinear.hpp.
typedef OneDFSISource super |
Definition at line 115 of file OneDFSISourceNonLinear.hpp.
|
inlineexplicit |
Empty constructor.
Definition at line 124 of file OneDFSISourceNonLinear.hpp.
|
inlineexplicit |
Constructor.
physicsPtr | pointer to the physics of the problem |
Definition at line 130 of file OneDFSISourceNonLinear.hpp.
|
inlinevirtual |
Do nothing destructor.
Definition at line 133 of file OneDFSISourceNonLinear.hpp.
|
explicitprivate |
Evaluate the source term.
A | area |
Q | flow rate |
row | row of the source term |
iNode | node of the mesh |
Implements OneDFSISource.
Definition at line 50 of file OneDFSISourceNonLinear.cpp.
|
virtual |
Evaluate the derivative of the source term.
A | area |
Q | flow rate |
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 84 of file OneDFSISourceNonLinear.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.
A | area |
Q | flow rate |
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 123 of file OneDFSISourceNonLinear.cpp.
|
private |