|
From: Steve P. <sj...@gm...> - 2024-03-07 05:19:34
|
The input script Stan pointed to allows a static temperature to be defined for each surf element by including the values in the read_surf file and assigning them to a custom per-surf vector. The custom vector is the temperature argument to the surf_collide command. If you want a spatially-dependent function to set the temperature (statically or time-dependent), you can use a surf-style variable as the temperature arg to the surf_collide command. Surf-style variables can include the center point of each surf in their formula (or the current timestep). See the examples/custom/in.custom.step.temp.variable script for an example. Also see the surf_collided temp/freq keyword to set how often the surf-style variable is invoked. The formula could also include outputs from per-surf computes, e.g. to vary the temperature depending on the energy flux of particles to each surface element. Steve |