Difference between revisions of "FluidSource"
Jump to navigation
Jump to search
(Created page with "A custom task to inject fluid particles at given point. __TOC__ == Introduction == == Task Scheduling == In scripted files, a <tt>FluidSour...") |
|||
Line 9: | Line 9: | ||
CustomTask FluidSource | CustomTask FluidSource | ||
Parameter material, | Parameter material,(matID) | ||
Parameter source_x, | Parameter source_x,(number) | ||
Parameter source_y, | Parameter source_y, (number) | ||
Parameter inlet_width, | Parameter inlet_width,(number) | ||
Parameter FlowRate, | Parameter FlowRate,(number) or (user defined function) | ||
Parameter x_min, | Parameter x_min,(number) | ||
Parameter x_max, | Parameter x_max,(number) | ||
Parameter y_min, | Parameter y_min,(number) | ||
Parameter y_max, | Parameter y_max,(number) | ||
Parameter FlowAngle, | Parameter FlowAngle,(number) | ||
Parameter particle_size, | Parameter particle_size,(number) | ||
Line 26: | Line 26: | ||
<Schedule name='FluidSource'> | <Schedule name='FluidSource'> | ||
<Parameter name='material'> | <Parameter name='material'>(matID)</Parameter> | ||
<Parameter name=' | <Parameter name='source_x'>(x)</Parameter> | ||
<Parameter name='source_y'>(y)</Parameter> | |||
<Parameter name='FlowRate'>10000000</Parameter> | <Parameter name='FlowRate'>10000000</Parameter> | ||
<Parameter name='FlowAngle'>0</Parameter> | <Parameter name='FlowAngle'>0</Parameter> | ||
<Parameter name='inlet_width'>100</Parameter> | <Parameter name='inlet_width'>100</Parameter> | ||
<Parameter name='x_min'>0</Parameter> | <Parameter name='x_min'>0</Parameter> | ||
<Parameter name='x_max'>750</Parameter> | <Parameter name='x_max'>750</Parameter> | ||
<Parameter name='y_min'>0</Parameter> | <Parameter name='y_min'>0</Parameter> | ||
<Parameter name='y_max'>200</Parameter> | <Parameter name='y_max'>200</Parameter> | ||
</Schedule> | <Parameter name='particle_size'>(size)</Parameter> | ||
</Schedule> | |||
where the | where the parameters are: | ||
* <tt> | * <tt>material</tt> The material ID of material to inject. | ||
* <tt>(Cvel)</tt> | * <tt>(Cvel)</tt> | ||
Revision as of 16:37, 6 November 2017
A custom task to inject fluid particles at given point.
Introduction
Task Scheduling
In scripted files, a FluidSource custom task is scheduled using
CustomTask FluidSource Parameter material,(matID) Parameter source_x,(number) Parameter source_y, (number) Parameter inlet_width,(number) Parameter FlowRate,(number) or (user defined function) Parameter x_min,(number) Parameter x_max,(number) Parameter y_min,(number) Parameter y_max,(number) Parameter FlowAngle,(number) Parameter particle_size,(number)
In XML files, this task is scheduled using a <Schedule> element, which must be within the single <CustomTasks> block:
<Schedule name='FluidSource'> <Parameter name='material'>(matID)</Parameter> <Parameter name='source_x'>(x)</Parameter> <Parameter name='source_y'>(y)</Parameter> <Parameter name='FlowRate'>10000000</Parameter> <Parameter name='FlowAngle'>0</Parameter> <Parameter name='inlet_width'>100</Parameter>
<Parameter name='x_min'>0</Parameter> <Parameter name='x_max'>750</Parameter> <Parameter name='y_min'>0</Parameter> <Parameter name='y_max'>200</Parameter> <Parameter name='particle_size'>(size)</Parameter> </Schedule>
where the parameters are:
- material The material ID of material to inject.
- (Cvel)
Material Support
This custom task can be used with any material and respond to material point velocities.