-
Tan, arccosine etc in expression editor
Hi,
Trigonometric functions in the Expression Editor are limited to sin and cos but i need arccosine and tan for my project. Does anyone know if there is a relatively easy was to calculate these in Feflow? -
Re: Evaporation expression for unsaturated 2D vertical model
Ahhhh, so that's what it was! ;D ;D. Thanks heaps Peter. -
Re: Evaporation expression for unsaturated 2D vertical model
Hi Peter,
Good to speak to you again, it's been years!
I figured after i sent the post that ED.1 is presumably like the reference distribution in Feflow 5, so i tried that but i still can't get it to work. I've attached a screen shot of the expression - is that the correct format for referencing the elements in ED.1? -
Evaporation expression for unsaturated 2D vertical model
Hi,
I'm trying to create an expression which varies evaporation with moisture content in the elements at the surface of my model. In the first instance i'm just trying to create an expression which sets the rate to zero when moisture content is below a certain value and applies a constant rate at other times. I'm using the Source/Sink Material Property and creating an expression in the expression editor. But i'm not sure how to reference the top row of elements in the expression. I've tried it various ways - most recently by creating a user defined expression for the surface elements (which looks up the moisture content of those elements) and referencing that expression in my Source/Sink expression. But it doesn't switch off the flux when moisture content drops. I've also tried just assigning values to the top layer of elements as User data and referencing those elements in my expression using that value, but that didn't work either. I've attached a screenshot. Can anyone tell me what i'm doing wrong?