time dependent properties

Submitted by Rahul Kumar on Thu, 11/21/2019 - 11:21

Hi everyone,
I am doing a simulation in which flow properties are changing with time. Is there any way to give the flow properties as a function of time.

Rahul Kumar | Fri, 11/22/2019 - 05:45

Flow properties
1. coefficient of friction
2. coefficient of rolling friction
3. cohesion energy density

mschramm | Tue, 11/26/2019 - 18:54

Hello,
From my understanding on how the fix property/global commands are done, you should be able to do something like the following.

# Set init properties
fix m1 all property/global youngsModulus peratomtype 5.e6
fix m2 all property/global poissonsRatio peratomtype 0.45
fix m3 all property/global coefficientRestitution peratomtypepair 1 0.3
fix m4 all property/global coefficientFriction peratomtypepair 1 0.5

# Do stuff
.
.
.

# Set new properties
unfix m1
unfix m2
unfix m3
unfix m4
fix m1 all property/global youngsModulus peratomtype 6.e6
fix m2 all property/global poissonsRatio peratomtype 0.5
fix m3 all property/global coefficientRestitution peratomtypepair 1 0.25
fix m4 all property/global coefficientFriction peratomtypepair 1 0.6

You could set these new properties in a loop using labels.