Go to the documentation of this file.
60 ms->setTempGradient(grad);
62 double vof = this->
giveVof(gp, tStep);
63 auto v0 = this->
giveMaterial(0)->computeFlux3D(grad, field, gp, tStep);
64 auto v1 = this->
giveMaterial(1)->computeFlux3D(grad, field, gp, tStep);
65 auto answer = (1.0 - vof) * v0 + vof * v1;
66 ms->setTempFlux(answer);
74 double vof = this->
giveVof(gp, tStep);
75 auto v0 = this->
giveMaterial(0)->computeTangent3D(mode, gp, tStep);
76 auto v1 = this->
giveMaterial(1)->computeTangent3D(mode, gp, tStep);
77 return (1.0 - vof) * v0 + vof * v1;
81TwoPhaseMaterial :: giveCharacteristicValue(MatResponseMode mode,
85 double vof = this->
giveVof(gp, tStep);
86 auto v0 = this->
giveMaterial(0)->giveCharacteristicValue(mode, gp, tStep);
87 auto v1 = this->
giveMaterial(1)->giveCharacteristicValue(mode, gp, tStep);
88 return (1.0 - vof) * v0 + vof * v1;
92TwoPhaseMaterial :: giveMaterial(
int i)
const
#define REGISTER_Material(class)
Domain * domain
Link to domain object, useful for communicating with other FEM components.
Element * giveElement()
Returns corresponding element to receiver.
virtual MaterialStatus * giveStatus(GaussPoint *gp) const
virtual double computeVof(TimeStep *tStep)
void setTempField(double newField)
Set field.
TransportMaterial(int n, Domain *d)
double giveVof(GaussPoint *gp, TimeStep *tStep) const
TransportMaterial * giveMaterial(int i) const
#define _IFT_TwoPhaseMaterial_mat
This page is part of the
OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak
Bořek Patzák
Project e-mail:
oofem@fsv.cvut.cz
Generated at for OOFEM by
doxygen
1.15.0 written by Dimitri van Heesch,
© 1997-2011