24#ifndef _GEMA_PLUGIN_ADV_DIFFUSION_FEM_PHYSICS_H_
25#define _GEMA_PLUGIN_ADV_DIFFUSION_FEM_PHYSICS_H_
28#include <gmpFemPhysicsCommon.h>
54 virtual const char* pluginName()
const {
return "AdvDiffusionFemPhysics"; }
57 virtual const char* pluginType()
const {
return "advDiffusion"; }
59 virtual bool loadPrivateData(
LuaTable & table);
60 virtual const QVariantMap* physicsMetaDataMap();
62 virtual FemResultType fillElementData (
const GmElement* e, GmpFemMatrixSet& elemMatrices, GmpFemVectorSet& elemVectors);
64 int border, GmpFemMatrixSet& elemMatrices, GmpFemVectorSet& elemVectors);
68 virtual bool calcDerivedResults(
bool nonLinearSolver);
138 virtual bool loadPrivateData2D(
LuaTable & table);
139 virtual bool loadPrivateData3D(
LuaTable & table);
143 ICPProjection2D(e, nodes, values);
153 ICPProjection3D(e, nodes, values);
154 ICQProjection3D(e, nodes, values);
165 virtual bool PrintResult(
void);
166 virtual bool ErrorAnalysis(
void);
168 bool Projection(
void);
170 int ElemPosition(
int i,
int j,
int k);
171 int TClassicElementToHigher(
const GmElement * e,
int)
const;
Basic class for the advection - diffusion physics plugin object.
Definition gmpAdvDiffusionFemPhysics.h:48
BoundaryConditionValueIds
IDs for property values from accepted boundary condition types.
Definition gmpAdvDiffusionFemPhysics.h:121
@ BC_P_NODE_V_ID
Id for retrieving the acessor to the Inflow Boundary Condition Type.
Definition gmpAdvDiffusionFemPhysics.h:124
@ BC_Q_V_ID
Id for retrieving the acessor to the Concentration Free Boundary Condition.
Definition gmpAdvDiffusionFemPhysics.h:123
@ BC_P_V_ID
Id for retrieving the acessor to the Inflow Boundary Condition Type.
Definition gmpAdvDiffusionFemPhysics.h:122
ElementPropertyIds
IDs for physics element properties.
Definition gmpAdvDiffusionFemPhysics.h:99
@ QT_ID
Id for retrieving the accesor to Flux Analytic. Used in Error Analysis Tests.
Definition gmpAdvDiffusionFemPhysics.h:106
@ QIC_ID
Id for retrieving the accesor to Flux Initial condition.
Definition gmpAdvDiffusionFemPhysics.h:104
@ PT_ID
Id for retrieving the accesor to Pressure Analytic. Used in Error Analysis Tests.
Definition gmpAdvDiffusionFemPhysics.h:105
@ GPT_ID
Id for retrieving the accesor to Gradient of Pressure Analytic. Used in Error Analysis Tests.
Definition gmpAdvDiffusionFemPhysics.h:107
@ PHI_ID
Id for retrieving the acessor to the Porosity Scalar Value Function
Definition gmpAdvDiffusionFemPhysics.h:100
@ K_ID
Id for retrieving the acessor to the Velocity Vector Value Function.
Definition gmpAdvDiffusionFemPhysics.h:101
@ PIC_ID
Id for retrieving the accesor to Pressure Initial condition.
Definition gmpAdvDiffusionFemPhysics.h:103
@ F_ID
Id for retrieving the acessor to Source/Sink term
Definition gmpAdvDiffusionFemPhysics.h:102
BoundaryConditionIds
IDs for accepted boundary condition types.
Definition gmpAdvDiffusionFemPhysics.h:113
@ BC_P_ID
Id for retrieving the acessor to the Inflow Boundary Condition Type.
Definition gmpAdvDiffusionFemPhysics.h:114
@ BC_Q_ID
Id for retrieving the acessor to the Concentration Free Boundary Condition.
Definition gmpAdvDiffusionFemPhysics.h:115
StateVarIds
IDs fo physics state vars.
Definition gmpAdvDiffusionFemPhysics.h:87
@ P_ID
Id for retrieving the acessor to the concentration state var.
Definition gmpAdvDiffusionFemPhysics.h:88
PhysicsAttributeIds
IDs for physics attributes.
Definition gmpAdvDiffusionFemPhysics.h:75
@ NodsZ_ID
Id for retrieving the number of nods in the z direction.
Definition gmpAdvDiffusionFemPhysics.h:78
@ Couple_ID
Id for retrieving if there a couple with advective physics.
Definition gmpAdvDiffusionFemPhysics.h:82
@ Error_ID
Id for retrieving for error analysis.
Definition gmpAdvDiffusionFemPhysics.h:80
@ NodsX_ID
Id for retrieving the number of nods in the x direction.
Definition gmpAdvDiffusionFemPhysics.h:76
@ staticCondensation_ID
Id for retrieving for Static Condensation procedure(Guyan Reduction).
Definition gmpAdvDiffusionFemPhysics.h:81
@ Transient_ID
Id for retrieving if is or not transient analysis.
Definition gmpAdvDiffusionFemPhysics.h:79
@ NodsY_ID
Id for retrieving the number of nods in the y direction.
Definition gmpAdvDiffusionFemPhysics.h:77
GaussAttributeIds
IDs for physics Gauss attributes.
Definition gmpAdvDiffusionFemPhysics.h:93
Declaration of useful configuration definitions for the plugin library.