Difference between revisions of "PropertyRamp Custom Task"

From OSUPDOCS
Jump to navigation Jump to search
Line 5: Line 5:
One way to run simulations with initial thermal stresses is set the temperature to all particles at the start of the calculations to a temperature that differs from the [[#Stress Free Temperature|stress free temperature]]. Such an instantaneous temperature change is analogous to impact loading and may cause stress and strain oscillations. To avoid these dynamic effects, it is better to ramp up particle temperature difference by using a thermal ramp by using this custom task.
One way to run simulations with initial thermal stresses is set the temperature to all particles at the start of the calculations to a temperature that differs from the [[#Stress Free Temperature|stress free temperature]]. Such an instantaneous temperature change is analogous to impact loading and may cause stress and strain oscillations. To avoid these dynamic effects, it is better to ramp up particle temperature difference by using a thermal ramp by using this custom task.


In scripted input files, the commands are:
Thermal ramps can be used for residual stress calculations. Because they create uniform temperature changes they do not lead to any conduction. Thus a ramp can be used without doing conduction calculations or it can be used in combination with conduction calculations and other [[#Thermal Boundary Conditions|thermal boundary conditions]].
 
== Task Scheduling ==
 
In scripted files, a <tt>ThermalRamp</tt> custom task is scheduled using


  ThermalRamp (diff),&lt;(time)&gt;
  CustomTask ThermalRamp
  RampStart (start time)
Parameter DeltaT,(deltaT)
Parameter time,(time)
  Parameter start,(start)
Parameter sigmoidal,(style)


In <tt>XML</tt> input files, the command, which must be in the <tt><Thermal></tt> block is:
In <tt>XML</tt> files, this task is scheduled using a <tt><Schedule></tt> element, which must be within the single <tt><CustomTasks></tt> block:


  <Isothermal time="(time)" start="(start time)">(diff)</Isothermal>
  <Schedule name='ThermalRamp'>
    <Parameter name='DeltaT'>(deltaT)</Parameter>
    <Parameter name='time'>(time)</Parameter>
    <Parameter name='start'>(start)</Parameter>
    <Parameter name='sigmoidal'>(style)</Parameter>
</Schedule>


where
where the are:
* <tt>(diff)</tt> is the final temperature difference to apply to all particles in degrees C (or K) after the ramp is completed.
* The optional <tt>(time)</tt> is the total time (in [[ConsistentUnits Command#Legacy and Consistent Units|alt time units]]) to reach the final temperature difference. Enter a time less than zero to apply the entire temperature difference on the first time step. The default is to ramp in one step. It is usually better to ramp the temperature difference over a finite time determined by wave speed of the materials in the model.
* The optional <tt>(start time)</tt> is the time (in [[ConsistentUnits Command#Legacy and Consistent Units|alt time units]]) to start the thermal ramp; the default is to start at time zero.


Thermal ramps can be used for residual stress calculations. Because they create uniform temperature changes they do not lead to any conduction. Thus a ramp can be used without doing conduction calculations or it can be used in combination with conduction calculations and other [[#Thermal Boundary Conditions|thermal boundary conditions]].
* <tt>(deltaT)</tt> - Enter the final temperature difference (in degrees) to apply to all particles (in degrees). The thermal ramp will change particle temperature from zero to this value over the duration of the ramp.
* <tt>(time)</tt> - Enter the time interval for applying the temperature difference (in [[ConsistentUnits Command#Legacy and Consistent Units|alt time units]]). This parameter is optional; if it is omitted, temperate difference is applied in one time step.
* <tt>(start)</tt> - Enter the start time for the thermal ramp (in [[ConsistentUnits Command#Legacy and Consistent Units|alt time units]]). This parameter is optional; if it is omitted, the ramp starts at time zero. The ramp ends at time <tt>(start)</tt>+<tt>(time)</tt>.
* <tt>(sigmoidal)</tt> - Enter 0 or 1 for a linear or sigmoidal thermal ramp. A sigmoidal ramp may reduce dynamic effects at the start and end of the ramp. This parameter is optional; if omitted, the ramp is linear.

Revision as of 20:01, 14 September 2016

A custom task to apply temperature difference to all particles.

Introduction

One way to run simulations with initial thermal stresses is set the temperature to all particles at the start of the calculations to a temperature that differs from the stress free temperature. Such an instantaneous temperature change is analogous to impact loading and may cause stress and strain oscillations. To avoid these dynamic effects, it is better to ramp up particle temperature difference by using a thermal ramp by using this custom task.

Thermal ramps can be used for residual stress calculations. Because they create uniform temperature changes they do not lead to any conduction. Thus a ramp can be used without doing conduction calculations or it can be used in combination with conduction calculations and other thermal boundary conditions.

Task Scheduling

In scripted files, a ThermalRamp custom task is scheduled using

CustomTask ThermalRamp
Parameter DeltaT,(deltaT)
Parameter time,(time)
Parameter start,(start)
Parameter sigmoidal,(style)

In XML files, this task is scheduled using a <Schedule> element, which must be within the single <CustomTasks> block:

<Schedule name='ThermalRamp'>
   <Parameter name='DeltaT'>(deltaT)</Parameter>
   <Parameter name='time'>(time)</Parameter>
   <Parameter name='start'>(start)</Parameter>
   <Parameter name='sigmoidal'>(style)</Parameter>
</Schedule>

where the are:

  • (deltaT) - Enter the final temperature difference (in degrees) to apply to all particles (in degrees). The thermal ramp will change particle temperature from zero to this value over the duration of the ramp.
  • (time) - Enter the time interval for applying the temperature difference (in alt time units). This parameter is optional; if it is omitted, temperate difference is applied in one time step.
  • (start) - Enter the start time for the thermal ramp (in alt time units). This parameter is optional; if it is omitted, the ramp starts at time zero. The ramp ends at time (start)+(time).
  • (sigmoidal) - Enter 0 or 1 for a linear or sigmoidal thermal ramp. A sigmoidal ramp may reduce dynamic effects at the start and end of the ramp. This parameter is optional; if omitted, the ramp is linear.