|
From: Roshan M. T. <ros...@be...> - 2024-03-07 19:34:13
|
Thanks a lot. Both solutions work for me. To confirm, these features are not available in the 4/23 release version, and I'll have to get it directly from GitHub public master. Thanks Roshan -- Roshan Mathew Tom | Ph.D. Candidate Graduate Student Researcher Computer Mechanics Laboratory University of California Berkeley Office: 5146 Etcheverry Hall On Wed, Mar 6, 2024 at 9:19 PM Steve Plimpton <sj...@gm...> wrote: > 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 > |