This email from vidhi.zala@utah.edu originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list to disable email stamping for this address.

 

Hi everyone,

I am looking for a way to define initial conditions which contain min() function. Can someone point to an example/syntax for the same? I am currently getting an error saying 

Message : Equation::Equation() fails on expression

 [(0.25*(1+cos(PI*min(sqrt(pow(x-bell_x0,2) + pow(y-bell_y0,2))/bell_r0, 1.0))))]


Thanks
V
--
   ,-~~-.___._.
  / |  '     \    | |--------. Vidhi Zala
 (  )         0   | |        | Intel Corp.
  \_/-, ,----'    | |        | School of Computing
     ====         !_!-v---v--. Scientific Computing and Imaging Institute
     /  \-'~;      .--------.  University of Utah
    /  __/~| ._-""||        |  vidhi.zala@utah.edu 
  =(  _____|_|____||________|  http://sci.utah.edu/people/vidhi.html