|
svMultiPhysics
|
For coupled 0D-3D problems. More...
#include <ComMod.h>
Public Attributes | |
| unsigned int | equationIndex = 0 |
| Index of the equation that this condition is associated with. | |
| bool | coupled = false |
| Is multi-domain active. | |
| bool | useGenBC = false |
| Whether to use genBC. | |
| bool | useSvZeroD = false |
| Whether to use svZeroD. | |
| bool | useSvOneD = false |
| Whether to use svOneD (svOneDSolver) | |
| bool | initRCR = false |
| Whether to initialize RCR from flow data. | |
| int | nFa = 0 |
| Number of coupled faces. | |
| int | nSvZeroD_coupled_bc = 0 |
Number of Time_dependence Coupled BCs for svZeroD (set in init_svZeroD). | |
| std::vector< std::pair< int, int > > | svZeroD_coupled_bc_idxs |
(iEq, iBc) for each svZeroD coupled BC in deterministic traversal order. | |
| int | nX = 0 |
| Number of unknowns in the 0D domain. | |
| int | nXp = 0 |
| Number of output variables addition to nX. | |
| consts::CplBCType | schm = consts::CplBCType::cplBC_NA |
| Implicit/Explicit/Semi-implicit schemes. | |
| double | finite_difference_absolute_perturbation = 1.0e-7 |
Absolute floor on the flow-rate perturbation used to finite-difference the coupled-BC tangent dP/dQ in set_bc::calc_der_cpl_bc. This is a dimensional quantity, so it must be set consistently with the unit system of the simulation. | |
| double | finite_difference_relative_perturbation = 1.0e-5 |
Flow-rate perturbation used to finite-difference the coupled-BC tangent dP/dQ in set_bc::calc_der_cpl_bc, relative to the RMS coupled flow rate. The perturbation actually applied is max(rms(Q)*finite_difference_relative_perturbation, finite_difference_absolute_perturbation). | |
| std::string | binPath |
| Path to the 0D code binary file. | |
| std::string | commuName |
| File name for communication between 0D and 3D. | |
| svZeroDSolverInterfaceData | svzerod_solver_interface |
| Data structure used for coupling with svZeroD code. | |
| svOneDSolverInterfaceData | svOneD_solver_interface |
| Data structure used for coupling with svOneD code. | |
| std::string | saveName |
| The name of history file containing "X". | |
| Vector< double > | xn |
| New time step unknowns in the 0D domain. | |
| Vector< double > | xo |
| Old time step unknowns in the 0D domain. | |
| Vector< double > | xp |
| Output variables to be printed. | |
| std::vector< cplFaceType > | fa |
| Data structure used for communicating with 0D code. | |
For coupled 0D-3D problems.
| std::string cplBCType::binPath |
Path to the 0D code binary file.
| std::string cplBCType::commuName |
File name for communication between 0D and 3D.
| bool cplBCType::coupled = false |
Is multi-domain active.
| unsigned int cplBCType::equationIndex = 0 |
Index of the equation that this condition is associated with.
| std::vector<cplFaceType> cplBCType::fa |
Data structure used for communicating with 0D code.
| double cplBCType::finite_difference_absolute_perturbation = 1.0e-7 |
Absolute floor on the flow-rate perturbation used to finite-difference the coupled-BC tangent dP/dQ in set_bc::calc_der_cpl_bc. This is a dimensional quantity, so it must be set consistently with the unit system of the simulation.
| double cplBCType::finite_difference_relative_perturbation = 1.0e-5 |
Flow-rate perturbation used to finite-difference the coupled-BC tangent dP/dQ in set_bc::calc_der_cpl_bc, relative to the RMS coupled flow rate. The perturbation actually applied is max(rms(Q)*finite_difference_relative_perturbation, finite_difference_absolute_perturbation).
| bool cplBCType::initRCR = false |
Whether to initialize RCR from flow data.
| int cplBCType::nFa = 0 |
Number of coupled faces.
| int cplBCType::nSvZeroD_coupled_bc = 0 |
Number of Time_dependence Coupled BCs for svZeroD (set in init_svZeroD).
| int cplBCType::nX = 0 |
Number of unknowns in the 0D domain.
| int cplBCType::nXp = 0 |
Number of output variables addition to nX.
| std::string cplBCType::saveName |
The name of history file containing "X".
| consts::CplBCType cplBCType::schm = consts::CplBCType::cplBC_NA |
Implicit/Explicit/Semi-implicit schemes.
| svOneDSolverInterfaceData cplBCType::svOneD_solver_interface |
Data structure used for coupling with svOneD code.
| std::vector<std::pair<int, int> > cplBCType::svZeroD_coupled_bc_idxs |
(iEq, iBc) for each svZeroD coupled BC in deterministic traversal order.
| svZeroDSolverInterfaceData cplBCType::svzerod_solver_interface |
Data structure used for coupling with svZeroD code.
| bool cplBCType::useGenBC = false |
Whether to use genBC.
| bool cplBCType::useSvOneD = false |
Whether to use svOneD (svOneDSolver)
| bool cplBCType::useSvZeroD = false |
Whether to use svZeroD.
| Vector<double> cplBCType::xn |
New time step unknowns in the 0D domain.
| Vector<double> cplBCType::xo |
Old time step unknowns in the 0D domain.
| Vector<double> cplBCType::xp |
Output variables to be printed.