|
[Sponsors] |
December 21, 2016, 06:25 |
Field function
|
#1 |
New Member
rasool
Join Date: Aug 2016
Posts: 5
Rep Power: 9 |
hello
i want to write a user defined field function for ( y/v*t ). so i write ($$Centroid[1])/($${Velocity}*$Time) for defined field function but an error. Could anyone tell me how to define this equation profile by using field function? Thank you! |
|
December 21, 2016, 07:46 |
|
#2 |
New Member
DL
Join Date: Jun 2016
Posts: 18
Rep Power: 9 |
There is a scalar/velocity type mismatch in your function. A direction needs to be defined for your velocity.
Sent from my SM-G920T using CFD Online Forum mobile app |
|
December 21, 2016, 16:02 |
|
#3 |
Member
Join Date: Nov 2015
Posts: 38
Rep Power: 10 |
You also should take care of a zero velocity or time leading to a zero denominator.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 07:56 |
problems after decomposing for running | alessio.nz | OpenFOAM | 7 | March 5, 2021 04:49 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 13:41 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
Droplet Evaporation | Christian | Main CFD Forum | 2 | February 27, 2007 06:27 |