source:
issm/oecreview/Archive/18296-19100/ISSM-18590-18591.diff
Last change on this file was 19102, checked in by , 10 years ago | |
---|---|
File size: 2.3 KB |
-
../trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp
3 3 #include "../classes/classes.h" 4 4 #include "../shared/shared.h" 5 5 #include "../modules/modules.h" 6 #include "../solutionsequences/solutionsequences.h" 6 7 7 8 /*Model processing*/ 8 9 int EnthalpyAnalysis::DofsPerNode(int** doflist,int domaintype,int approximation){/*{{{*/ … … 198 199 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){/*{{{*/ 204 217 /*Default, return NULL*/ -
../trunk-jpl/src/c/cores/thermal_core.cpp
27 27 if(numoutputs) femmodel->parameters->FindParam(&requested_outputs,&numoutputs,ThermalRequestedOutputsEnum); 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{ 46 35 if(VerboseSolution()) _printf0_(" computing temperatures\n");
Note:
See TracBrowser
for help on using the repository browser.