6 | | As its name implies, the {{{Wind}}} object was originally created to simulate a stellar wind. However, the actual object is a little more generic. It can represent any continuous inflow condition that, by default, comes in from the lower x boundary of the domain. The {{{Wind}}} object allows for a simple interface for setting the inflow density, velocity, temperature, and magnetization. The object (if used) must be created during the {{{ProblemModuleInit}}} subroutine. |
| 6 | As its name implies, the {{{Wind}}} object was originally created to simulate a stellar wind. However, the actual object is a little more generic. It can represent any continuous inflow or outflow condition that, by default, is an inflow coming from the lower x boundary of the domain. The {{{Wind}}} object allows for a simple interface for setting the flow's density, velocity, temperature, and magnetization. The object (if used) must be created during the {{{ProblemModuleInit}}} subroutine. |
30 | | The default values for density and temperature are both 1. The velocity and magnetization vectors are 0, and there is no wind tracer. To turn on a wind tracer, the value of iTracer needs to be initialized to a valid tracer index using the AddTracer routine. The dir and edge parameters define the direction of the wind and which boundary the wind comes from. For dir: the x, y, z directions are 1, 2, 3 respectively. For edge: the lower x, lower y, lower z, upper x, upper y, upper z boundaries are 1,2,3,4,5,6 respectively. Period, amplitude, and waveform are all parameters used for a velocity perturbation. Their default is 0 (i.e. no perturbation). |
| 30 | The default values for density and temperature are both 1. The velocity and magnetization vectors are 0, and there is no wind tracer. To turn on a wind tracer, the value of iTracer needs to be initialized to a valid tracer index using the AddTracer routine. |
| 31 | |
| 32 | The dir and edge parameters define the direction of the wind and which boundary the wind comes from. For dir: the x, y, z directions are 1, 2, 3 respectively. For edge: the lower x, lower y, lower z, upper x, upper y, upper z boundaries are 1,2,3,4,5,6 respectively. |
| 33 | |
| 34 | The default value for type is 0, which corresponds to USER_DEFINED. This means that the user has total control of the Wind object's parameters. The other type is 1 which is OUTFLOW_ONLY. This type will override some of the parameters to ensure that the wind is an outflow instead of an inflow. |
| 35 | |
| 36 | Period, amplitude, and waveform are all parameters used for a velocity perturbation. Their default is 0 (i.e. no perturbation). |