|
[Sponsors] |
October 15, 2021, 05:17 |
UDF for Cross-WLF viscosity model
|
#1 |
New Member
Azeem
Join Date: Nov 2019
Posts: 4
Rep Power: 7 |
Can anyone please help me to write a udf for cross-wlf viscosity model for fluent.
|
|
October 15, 2021, 14:45 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Sure! Show how far you got, where you are stuck, and we can think about how to get further.
__________________
"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". |
|
October 18, 2021, 05:39 |
|
#3 |
New Member
Azeem
Join Date: Nov 2019
Posts: 4
Rep Power: 7 |
I have written the expressions that are to be used in the UDF. Please take a look. As I have no background of C++ so I need help how to write the UDF
|
|
October 18, 2021, 13:46 |
|
#4 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
OK, first thing to do: see if you can find a UDF that is similar to your problem. Then you don't have to start from nothing. A good start is the Fluent manual, you should have that on your computer that has fluent.
Look in that manual for a UDF that changes viscosity. (and forget about c++, the normal language to write in is c, not c++)
__________________
"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". |
|
January 28, 2022, 06:35 |
|
#5 |
Member
Join Date: Sep 2016
Posts: 43
Rep Power: 10 |
hi Azeem, were you able to write the UDF then? Apologies for opening an old thread, I am also stuck in the same problem
|
|
Tags |
fluent - udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error after implementing a new viscosity model | Lee Kyun Bum | OpenFOAM Running, Solving & CFD | 2 | November 7, 2024 05:14 |
Multiphase non-Newtonian viscosity of blood | mdmtramper | Fluent Multiphase | 3 | January 22, 2021 07:09 |
Fluid turns into solid at given T (via viscosity UDF or solidifcation model?) | jpina | FLUENT | 1 | April 3, 2016 04:48 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
Regarding Implementation of Hershel Bulkley Model in Viscosity correlation | Pathak | FLOW-3D | 0 | August 24, 2009 07:34 |