|
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 -
Did you try the expression without min(.) to verify that min is the problem? Min may not exist in the set of functions implemented (currently), but could be added.
CheersMike
On Jul 7, 2022, at 3:33 AM, Vidhi Zala <vidhi.zala@utah.edu> wrote:
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))))]
ThanksV--
,-~~-.___._. / | ' \ | |--------. 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
----
R.M. Kirby
Professor, School of Computingand Scientific Computing and Imaging InstituteUniversity of Utah
,-~~-.___._. / | ' \ | |--------. 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