Difference between revisions of "FluidSource"

From OSUPDOCS
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...")
 
(Blanked the page)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
A [[MPM Input Files#Custom Tasks|custom task]] to inject fluid particles at given point.
__TOC__
== Introduction ==


== Task Scheduling ==
In scripted files, a <tt>FluidSource</tt> custom task is scheduled using
CustomTask FluidSource
Parameter material,1
Parameter source_x,width+(1*wall+space)*cell,
Parameter source_y, 0.5*inlet
Parameter inlet_width,inlet
Parameter FlowRate,flowrate
Parameter x_min,0.0
Parameter x_max,height
Parameter y_min,0.0
Parameter y_max,width
Parameter FlowAngle,0
Parameter particle_size,.5
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:
<Schedule name='FluidSource'>
  <Parameter name='material'>1</Parameter>
  <Parameter name='particle_size'>1</Parameter>
  <Parameter name='FlowRate'>10000000</Parameter>
  <Parameter name='FlowAngle'>0</Parameter>
  <Parameter name='inlet_width'>100</Parameter>
  <Parameter name='source_x'>800</Parameter>
  <Parameter name='source_y'>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>
</Schedule>
where the two parameters are:
* <tt>(time)</tt> -
* <tt>(Cvel)</tt>
== Material Support ==
This custom task can be used with any material and respond to material point velocities.
* [[Ideal Gas Material|IdealGas]]
* [[Tait Liquid Material|TaitLiquid]]

Latest revision as of 13:07, 6 March 2018