Commit b0fa36da authored by thomaskummer's avatar thomaskummer
Browse files

cervin lifev update

parent 918117e7
......@@ -399,11 +399,11 @@ int main (int argc, char** argv)
solver.bcInterfacePtr() -> handler()->addBC (patchName, (800+i), Natural, Component, *patchForceBCVecPtr[i], patchComponent);
}
heartSolver.exporter()->addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
patchName,
solver.structuralOperatorPtr()->dispFESpacePtr(),
patchForceVecPtr[i],
UInt (0) );
// heartSolver.exporter()->addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
// patchName,
// solver.structuralOperatorPtr()->dispFESpacePtr(),
// patchForceVecPtr[i],
// UInt (0) );
}
auto modifyNaturalPatchBC = [&] (const Real& time)
......
......@@ -474,6 +474,11 @@ public:
void showMe() const {}
WallTensionEstimator<RegionMesh<LinearTetra> >& tensionEstimator()
{
return M_wteTotal;
}
meshPtr_Type fullMeshPtr()
{
return M_fullMeshPtr;
......
......@@ -260,11 +260,11 @@ public:
M_emSolver.structuralOperatorPtr()->displacementPtr(),
UInt (0) );
// m_exporter->addVariable ( ExporterData<RegionMesh<LinearTetra> >::ScalarField,
// "Von Mises Stress",
// M_emSolver.electroSolverPtr()->feSpacePtr(),
// M_wteTotal.vonMisesStressPtr(),
// UInt (0) );
m_exporter->addVariable ( ExporterData<RegionMesh<LinearTetra> >::ScalarField,
"Von Mises Stress",
M_emSolver.electroSolverPtr()->feSpacePtr(),
M_emSolver.tensionEstimator().vonMisesStressPtr(),
UInt (0) );
}
......@@ -282,13 +282,13 @@ public:
}
// void postProcess(const Real& time)
// {
// M_wteTotal.setDisplacement ( M_EMStructuralOperatorPtr -> displacement() );
// M_wteTotal.analyzeTensionsRecoveryVonMisesStress();
//
// m_exporter->postProcess(time);
// }
void postProcess(const Real& time)
{
M_emSolver.tensionEstimator().setDisplacement ( M_emSolver.structuralOperatorPtr()-> displacement() );
M_emSolver.tensionEstimator().analyzeTensionsRecoveryVonMisesStress();
m_exporter->postProcess(time);
}
exporterPtr_Type exporter()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment