|
[Sponsors] |
June 17, 2021, 12:54 |
How can I define d/dx term in UDF?
|
#1 |
Member
Join Date: May 2012
Posts: 30
Rep Power: 14 |
||
June 17, 2021, 14:42 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
You're not showing terms, but an operator... What should this operate on?
(or maybe a better question to avoid follow up questions: can you write your momentum equation?)
__________________
"The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform" is NOT the error after compiling. It is the error after loading. To see compiler errors, look at your screen after you click "build". |
|
June 17, 2021, 15:10 |
|
#3 | |
Member
Join Date: May 2012
Posts: 30
Rep Power: 14 |
Quote:
Actually I mean Mx d/dx, My d/dy and Mz d/dz as terms. There is nothing after derivatives (d/dx, d/dy, d/dz). Anyway here is the whole equation; |
||
June 17, 2021, 17:50 |
|
#4 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
You say that there is nothing after the derivatives, but your equation shows that there is a vector B after the derivatives...
Is B the magnetic field? Fluent does not calculate the magnetic field (as far as I know), so you need to put in the magnetic field yourself. And taking the gradient of the magnetic field is an extra step that you have to do yourself also...
__________________
"The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform" is NOT the error after compiling. It is the error after loading. To see compiler errors, look at your screen after you click "build". |
|
|
|
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 |
use of pointers in specific heat udf | mdakbari | Fluent UDF and Scheme Programming | 0 | April 18, 2014 12:37 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |
UDF FOR UNSTEADY TIME STEP | mayur | FLUENT | 3 | August 9, 2006 11:19 |
UDF Scalar Code: HT 1 | Greg Perkins | FLUENT | 8 | October 20, 2000 13:40 |