Commit 16f41362 authored by thomaskummer's avatar thomaskummer
Browse files

compute von mises stress

parent 0b0999e7
......@@ -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() );
......
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