Commit 0f3f316b authored by thomaskummer's avatar thomaskummer
Browse files

compute von mises stress

parent ac689607
......@@ -688,71 +688,71 @@ EMSolver<Mesh, ElectroSolver>::setupExporters ( std::string problemFolder,
M_wteTotal.vonMisesStressPtr(),
UInt (0) );
M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
"X Stress Total",
M_EMStructuralOperatorPtr -> dispFESpacePtr(),
M_wteTotal.sigmaXPtr(),
UInt (0) );
M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
"Y Stress Total",
M_EMStructuralOperatorPtr -> dispFESpacePtr(),
M_wteTotal.sigmaYPtr(),
UInt (0) );
M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
"Z Stress Total",
M_EMStructuralOperatorPtr -> dispFESpacePtr(),
M_wteTotal.sigmaZPtr(),
UInt (0) );
M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::ScalarField,
"Von Mises Stress Passive",
M_electroSolverPtr -> feSpacePtr(),
M_wtePassive.vonMisesStressPtr(),
UInt (0) );
M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
"X Stress Passive",
M_EMStructuralOperatorPtr -> dispFESpacePtr(),
M_wtePassive.sigmaXPtr(),
UInt (0) );
M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
"Y Stress Passive",
M_EMStructuralOperatorPtr -> dispFESpacePtr(),
M_wtePassive.sigmaYPtr(),
UInt (0) );
M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
"Z Stress Passive",
M_EMStructuralOperatorPtr -> dispFESpacePtr(),
M_wtePassive.sigmaZPtr(),
UInt (0) );
M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::ScalarField,
"Von Mises Stress Active",
M_electroSolverPtr -> feSpacePtr(),
M_wteActive.vonMisesStressPtr(),
UInt (0) );
M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
"X Stress Active",
M_EMStructuralOperatorPtr -> dispFESpacePtr(),
M_wteActive.sigmaXPtr(),
UInt (0) );
M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
"Y Stress Active",
M_EMStructuralOperatorPtr -> dispFESpacePtr(),
M_wteActive.sigmaYPtr(),
UInt (0) );
M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
"Z Stress Active",
M_EMStructuralOperatorPtr -> dispFESpacePtr(),
M_wteActive.sigmaZPtr(),
UInt (0) );
// M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
// "X Stress Total",
// M_EMStructuralOperatorPtr -> dispFESpacePtr(),
// M_wteTotal.sigmaXPtr(),
// UInt (0) );
//
// M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
// "Y Stress Total",
// M_EMStructuralOperatorPtr -> dispFESpacePtr(),
// M_wteTotal.sigmaYPtr(),
// UInt (0) );
//
// M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
// "Z Stress Total",
// M_EMStructuralOperatorPtr -> dispFESpacePtr(),
// M_wteTotal.sigmaZPtr(),
// UInt (0) );
//
// M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::ScalarField,
// "Von Mises Stress Passive",
// M_electroSolverPtr -> feSpacePtr(),
// M_wtePassive.vonMisesStressPtr(),
// UInt (0) );
//
// M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
// "X Stress Passive",
// M_EMStructuralOperatorPtr -> dispFESpacePtr(),
// M_wtePassive.sigmaXPtr(),
// UInt (0) );
//
// M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
// "Y Stress Passive",
// M_EMStructuralOperatorPtr -> dispFESpacePtr(),
// M_wtePassive.sigmaYPtr(),
// UInt (0) );
//
// M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
// "Z Stress Passive",
// M_EMStructuralOperatorPtr -> dispFESpacePtr(),
// M_wtePassive.sigmaZPtr(),
// UInt (0) );
//
// M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::ScalarField,
// "Von Mises Stress Active",
// M_electroSolverPtr -> feSpacePtr(),
// M_wteActive.vonMisesStressPtr(),
// UInt (0) );
//
// M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
// "X Stress Active",
// M_EMStructuralOperatorPtr -> dispFESpacePtr(),
// M_wteActive.sigmaXPtr(),
// UInt (0) );
//
// M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
// "Y Stress Active",
// M_EMStructuralOperatorPtr -> dispFESpacePtr(),
// M_wteActive.sigmaYPtr(),
// UInt (0) );
//
// M_vonMisesStressExporterPtr -> addVariable ( ExporterData<RegionMesh<LinearTetra> >::VectorField,
// "Z Stress Active",
// M_EMStructuralOperatorPtr -> dispFESpacePtr(),
// M_wteActive.sigmaZPtr(),
// UInt (0) );
// Mechanics
M_mechanicsExporterPtr.reset (new exporter_Type() );
......@@ -815,6 +815,7 @@ EMSolver<Mesh, ElectroSolver>::closeExporters()
M_activationExporterPtr -> closeFile();
M_activationTimeExporterPtr -> closeFile();
M_mechanicsExporterPtr -> closeFile();
M_vonMisesStressExporterPtr -> closeFile();
}
......
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