power law field function
I have been trying to run a simulation with the following power law atmospheric velocity profile: u(y) = 6*(y/0.5)^0.23
I have used the following syntax to make a scaler field function: 6*pow(($$Position[1]/0.5),0.23). This is then set as the inlet velocity condition. However, when I run a single iteration I get a floating point exception error pointing to the field function position. If anyone has any idea what the problem could be, your advice would be much appreciated. Thanks |
It might be that power law as field function just does not work for this purpose due to numerics, other option is to generate table using this same equation and import that as a table. That will work
|
Try $$Centroid instead of $$Position
|
All times are GMT -4. The time now is 13:24. |