|
[Sponsors] |
January 24, 2017, 03:00 |
Using UDF to define parameter
|
#1 |
New Member
Oleg Vlasov
Join Date: Oct 2014
Posts: 15
Rep Power: 12 |
Dear friends!
I am trying to solve transient problem. For my case I need to specify time-depended gravity, but I don't know how to do it. The only thing that I can specify for gravity is parameter. That's why my question is: how can I define the value of the parameter in UDF? I mean that the value for gravity will be changed in each time step (using real t = CURRENT_TIME). Oleg |
|
January 24, 2017, 03:23 |
|
#2 |
Member
KirMaks
Join Date: Aug 2016
Posts: 34
Rep Power: 10 |
Hallo, You can replace Your gravity with the source in NS equations and then use source UDF to change the gravity vector with time as it is described here:
UDF to modify gravity via M_gravity[ND_ND] or DEFINE_ADJUST Best regards, Maksim |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WILLING TO PAY/ FREELANCER REQUIRED / small UDF coding force loads over body / 6DOF | acasas | CFD Freelancers | 1 | January 23, 2015 08:26 |
Please help UDF error!!!! | dinhanh | Fluent UDF and Scheme Programming | 3 | September 26, 2014 05:10 |
How to use UDF to define a moving wall | lingo | FLUENT | 9 | August 19, 2014 10:14 |
use of pointers in specific heat udf | mdakbari | Fluent UDF and Scheme Programming | 0 | April 18, 2014 12:37 |
UDF problem | libia87 | Fluent UDF and Scheme Programming | 1 | May 4, 2012 22:49 |