fix wall/gran moving wall

Hi

I was wondering if it is possible to move the wall with fix wall/gran at a constant rate like what is mentioned in the manual about the fix wall/harmonic ?

I used the following command and it gave me the error:

variable ramp equal ramp(0.2,0.5)
fix zzlower all wall/gran 5.0 NULL 50.0 NULL 0.5 1 zplane v_ramp 1.5
ERROR: Expected floating point parameter in input script or data file (…/fix_wall_gran.cpp:103)

Regards,
Mehdi

Hi

I was wondering if it is possible to move the wall with fix wall/gran at a
constant rate like what is mentioned in the manual about the fix
wall/harmonic ?

I used the following command and it gave me the error:

variable ramp equal ramp(0.2,0.5)
fix zzlower all wall/gran 5.0 NULL 50.0 NULL 0.5 1 zplane v_ramp
1.5
ERROR: Expected floating point parameter in input script or data file
(../fix_wall_gran.cpp:103)

with this you have answered your own question.

I know Axel, I just wanted to know the reason and the (possible) restrictions for it.

Reagrds,
Mehdi

I know Axel, I just wanted to know the reason and the (possible)
restrictions for it.

the reason for what? and what restrictions (for the reason??)?

Mehdi,

Your questions can easily be answered by simply reading the documentation for the fix and providing the parameters that the fix is expecting.

It may also help to not use such bogus parameters, i.e. you’re definitely over-damped.

It’s not possible currently, code would have to
be added to the fix.

Steve