15 #if !defined (KRATOS_DISPLACEMENT_NEWTONIAN_3D_LAW_H_INCLUDED)
16 #define KRATOS_DISPLACEMENT_NEWTONIAN_3D_LAW_H_INCLUDED
68 mpShapeFunctionsValues = &rShapeFunctionsValues;
73 mpElementGeometry = &rElementGeometry;
78 return *mpShapeFunctionsValues;
83 return *mpElementGeometry;
113 ConstitutiveLaw::Pointer Clone()
const override;
175 void InitializeMaterial(
const Properties& rMaterialProperties,
177 const Vector& rShapeFunctionsValues)
override;
185 void CalculateMaterialResponseKirchhoff(
Parameters& rValues)
override;
193 void CalculateMaterialResponseCauchy(
Parameters& rValues)
override;
202 void FinalizeMaterialResponseKirchhoff(
Parameters& rValues)
override;
210 void FinalizeMaterialResponseCauchy(
Parameters& rValues)
override;
216 void GetLawFeatures(Features& rFeatures)
override;
269 virtual void CalculateAlmansiStrain(
const Matrix & rLeftCauchyGreen,
311 Matrix& rConstitutiveMatrix);
317 const unsigned int&
a,
const unsigned int&
b,
const unsigned int&
c,
const unsigned int&
d);
331 const unsigned int&
b,
const unsigned int&
c,
const unsigned int&
d);
346 double& IsochoricConstitutiveComponent(
double& rCabcd,
const MaterialResponseVariables& rViscousVariables,
const Matrix& rIsoStressMatrix,
const unsigned int&
a,
347 const unsigned int&
b,
const unsigned int&
c,
const unsigned int&
d);
378 virtual void UpdateInternalVariables(
Parameters& rValues);
386 void CalculateDeviatoricPart(
const Matrix& rMatrix,
Matrix& rDevMatrix);
394 virtual bool CheckParameters(
Parameters& rValues);
425 void save(
Serializer& rSerializer)
const override
428 rSerializer.
save(
"mInverseDeformationGradientF0", mInverseDeformationGradientF0);
429 rSerializer.
save(
"mDeterminantF0", mDeterminantF0);
435 rSerializer.
load(
"mInverseDeformationGradientF0", mInverseDeformationGradientF0);
436 rSerializer.
load(
"mDeterminantF0", mDeterminantF0);
Definition: constitutive_law.h:47
StressMeasure
Definition: constitutive_law.h:69
std::size_t SizeType
Definition: constitutive_law.h:82
Definition: displacement_newtonian_fluid_3D_law.hpp:41
ConstitutiveLaw BaseType
Definition: displacement_newtonian_fluid_3D_law.hpp:92
KRATOS_CLASS_POINTER_DEFINITION(DispNewtonianFluid3DLaw)
Matrix mInverseDeformationGradientF0
Definition: displacement_newtonian_fluid_3D_law.hpp:253
double mDeterminantF0
Definition: displacement_newtonian_fluid_3D_law.hpp:255
SizeType WorkingSpaceDimension() override
Definition: displacement_newtonian_fluid_3D_law.hpp:144
ProcessInfo ProcessInfoType
Definition: displacement_newtonian_fluid_3D_law.hpp:91
SizeType GetStrainSize() const override
Definition: displacement_newtonian_fluid_3D_law.hpp:152
std::size_t SizeType
Definition: displacement_newtonian_fluid_3D_law.hpp:93
Geometry base class.
Definition: geometry.h:71
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
void load(std::string const &rTag, TDataType &rObject)
Definition: serializer.h:207
void save(std::string const &rTag, std::array< TDataType, TDataSize > const &rObject)
Definition: serializer.h:545
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
bool Has(const std::string &ModelerName)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:24
Parameters GetValue(Parameters &rParameters, const std::string &rEntry)
Definition: add_kratos_parameters_to_python.cpp:53
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def SetValue(entity, variable, value)
Definition: coupling_interface_data.py:256
a
Definition: generate_stokes_twofluid_element.py:77
b
Definition: generate_total_lagrangian_mixed_volumetric_strain_element.py:31
c
Definition: generate_weakly_compressible_navier_stokes_element.py:108
def load(f)
Definition: ode_solve.py:307
int d
Definition: ode_solve.py:397
Definition: constitutive_law.h:189
Definition: displacement_newtonian_fluid_3D_law.hpp:45
Matrix Identity
Definition: displacement_newtonian_fluid_3D_law.hpp:55
double DeterminantF
Definition: displacement_newtonian_fluid_3D_law.hpp:52
const Matrix * mpShapeFunctionsDerivatives
Definition: displacement_newtonian_fluid_3D_law.hpp:62
double BulkModulus
Definition: displacement_newtonian_fluid_3D_law.hpp:49
Matrix DeformationGradientF
Definition: displacement_newtonian_fluid_3D_law.hpp:54
const GeometryType * mpElementGeometry
Definition: displacement_newtonian_fluid_3D_law.hpp:63
void SetShapeFunctionsValues(const Vector &rShapeFunctionsValues)
Definition: displacement_newtonian_fluid_3D_law.hpp:66
Matrix StressMatrix
Definition: displacement_newtonian_fluid_3D_law.hpp:59
double DeltaTime
Definition: displacement_newtonian_fluid_3D_law.hpp:53
Matrix CauchyGreenMatrix
Definition: displacement_newtonian_fluid_3D_law.hpp:58
void SetElementGeometry(const GeometryType &rElementGeometry)
Definition: displacement_newtonian_fluid_3D_law.hpp:71
const GeometryType & GetElementGeometry() const
Definition: displacement_newtonian_fluid_3D_law.hpp:81
Matrix DeformationRate
Definition: displacement_newtonian_fluid_3D_law.hpp:57
const Vector & GetShapeFunctionsValues() const
Definition: displacement_newtonian_fluid_3D_law.hpp:76
double Mu
Definition: displacement_newtonian_fluid_3D_law.hpp:48
const Vector * mpShapeFunctionsValues
Definition: displacement_newtonian_fluid_3D_law.hpp:61