Changeset 18591
- Timestamp:
- 10/08/14 05:05:54 (10 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp
r18589 r18591 4 4 #include "../shared/shared.h" 5 5 #include "../modules/modules.h" 6 #include "../solutionsequences/solutionsequences.h" 6 7 7 8 /*Model processing*/ … … 199 200 /*Finite Element Analysis*/ 200 201 void EnthalpyAnalysis::Core(FemModel* femmodel){/*{{{*/ 201 _error_("not implemented"); 202 if(VerboseSolution()) _printf0_(" computing enthalpy\n"); 203 femmodel->SetCurrentConfiguration(EnthalpyAnalysisEnum); 204 solutionsequence_thermal_nonlinear(femmodel); 205 206 /*transfer enthalpy to enthalpy picard for the next step: */ 207 InputDuplicatex(femmodel,EnthalpyEnum,EnthalpyPicardEnum); 208 209 int solution_type; 210 femmodel->parameters->FindParam(&solution_type,SolutionTypeEnum); 211 if(solution_type!=SteadystateSolutionEnum){ 212 PostProcessing(femmodel); 213 } 214 202 215 }/*}}}*/ 203 216 ElementVector* EnthalpyAnalysis::CreateDVector(Element* element){/*{{{*/ -
issm/trunk-jpl/src/c/cores/thermal_core.cpp
r18589 r18591 28 28 29 29 if(isenthalpy){ 30 31 if(VerboseSolution()) _printf0_(" computing enthalpy\n"); 32 femmodel->SetCurrentConfiguration(EnthalpyAnalysisEnum); 33 solutionsequence_thermal_nonlinear(femmodel); 34 35 /*transfer enthalpy to enthalpy picard for the next step: */ 36 InputDuplicatex(femmodel,EnthalpyEnum,EnthalpyPicardEnum); 37 38 if(solution_type!=SteadystateSolutionEnum){ 39 /*Post process*/ 40 enthalpy_analysis = new EnthalpyAnalysis(); 41 enthalpy_analysis->PostProcessing(femmodel); 42 delete enthalpy_analysis; 43 } 30 enthalpy_analysis = new EnthalpyAnalysis(); 31 enthalpy_analysis->Core(femmodel); 32 delete enthalpy_analysis; 44 33 } 45 34 else{
Note:
See TracChangeset
for help on using the changeset viewer.