Changeset 4469
- Timestamp:
- 07/08/10 14:40:51 (15 years ago)
- Location:
- issm/trunk/src/m
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/solutions/thermal_core_step.m
r4366 r4469 1 function femmodel=thermal_core_step(femmodel )1 function femmodel=thermal_core_step(femmodel,step,time) 2 2 %THERMAL_CORE_STEP - core of the thermal solution for one step 3 3 % 4 4 % Usage: 5 % femmodel=thermal_core_step(femmodel )5 % femmodel=thermal_core_step(femmodel,step,time) 6 6 7 7 %recover parameters common to all solutions … … 10 10 displaystring(verbose,'\n%s',['computing temperature...']); 11 11 femmodel=SetCurrentConfiguration(femmodel,ThermalAnalysisEnum); 12 femmodel=solver_thermal_nonlinea t(femmodel);12 femmodel=solver_thermal_nonlinear(femmodel); 13 13 14 14 displaystring(verbose,'\n%s',['compute melting...']); 15 femmodel=SetCurrentConfigurat on(femmodel,MeltingAnalysisEnum);15 femmodel=SetCurrentConfiguration(femmodel,MeltingAnalysisEnum); 16 16 femmodel=solver_linear(femmodel); 17 17 -
issm/trunk/src/m/solvers/solver_thermal_nonlinear.m
r4271 r4469 22 22 if count==1 23 23 displaystring(femmodel.parameters.Verbose,'%s',[' system matrices']); 24 [K_gg_nopenalty, p_g_nopenalty]=SystemMatrices(femmodel.elements,femmodel.nodes,femmodel.vertices,femmodel.loads,femmodel.materials,femmodel.parameters ,analysis_type,sub_analysis_type);24 [K_gg_nopenalty, p_g_nopenalty]=SystemMatrices(femmodel.elements,femmodel.nodes,femmodel.vertices,femmodel.loads,femmodel.materials,femmodel.parameters); 25 25 end 26 26 displaystring(femmodel.parameters.Verbose,'%s',[' penalty system matrices']); 27 [K_gg , p_g, melting_offset]=PenaltySystemMatrices(K_gg_nopenalty,p_g_nopenalty,femmodel.elements,femmodel.nodes,femmodel.vertices,femmodel.loads,femmodel.materials,femmodel.parameters ,analysis_type,sub_analysis_type);27 [K_gg , p_g, melting_offset]=PenaltySystemMatrices(K_gg_nopenalty,p_g_nopenalty,femmodel.elements,femmodel.nodes,femmodel.vertices,femmodel.loads,femmodel.materials,femmodel.parameters); 28 28 29 29 %Reduce tangent matrix from g size to f size … … 44 44 %penalty constraints 45 45 displaystring(femmodel.parameters.Verbose,'%s',[' penalty constraints']); 46 [femmodel.loads,constraints_converged,num_unstable_constraints] =PenaltyConstraints(femmodel.elements,femmodel.nodes,femmodel.vertices,femmodel.loads, femmodel.materials,femmodel.parameters ,analysis_type,sub_analysis_type);46 [femmodel.loads,constraints_converged,num_unstable_constraints] =PenaltyConstraints(femmodel.elements,femmodel.nodes,femmodel.vertices,femmodel.loads, femmodel.materials,femmodel.parameters); 47 47 48 48 if ~converged, … … 57 57 end 58 58 59 %add melting_offset into inputs 60 [femmodel.elements femmodel.loads]=InputUpdateFromConstant(femmodel.elements,femmodel.nodes,femmodel.vertices,femmodel.loads,femmodel.materials,femmodel.parameters,melting_offset,MeltingOffsetEnum); 59 61 end 62
Note:
See TracChangeset
for help on using the changeset viewer.