|
[Sponsors] |
September 11, 2021, 08:59 |
Custom field function in UDF
|
#1 |
New Member
bagh fay
Join Date: Mar 2017
Posts: 17
Rep Power: 9 |
Hi
basically i have created a custom field function within Fluent using the GUI and given it a name within flent i can use it plot it and even do more calculation with it however my problem is i want to refer to it within UDF but i do not know the name associated to it for example pressure on a face can be referred using F_P(f,fthred) so i need something similar like F_custumFunctionName(f,fthred) but using the created custom function name returns error as it is not recognized and hence wondering what is the variable name associated with the created custom field functions and if there is any way to refer o it within a UDF thanks and best regards |
|
September 13, 2021, 07:57 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
I don't think, there is a way to use custom fields from UDF.
But any custom field is based on variables available from UDF, so you should make the same custom filed but within UDF. You may store it's value in udmi variable, and plot it later
__________________
best regards ****************************** press LIKE if this message was helpful |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom field function object from wallHeatFlux | HorstvanGrass | OpenFOAM Post-Processing | 1 | August 3, 2021 13:28 |
Writing custom function of flow field at every iteration | sap_92 | OpenFOAM Running, Solving & CFD | 0 | June 20, 2020 18:16 |
Can i take contours from Custom field function i defined ? | rahulohlan | FLUENT | 3 | April 18, 2017 14:39 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14:06 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |