|
[Sponsors] |
November 8, 2002, 06:08 |
Writing own turbulence model
|
#1 |
Guest
Posts: n/a
|
Dear Fluent users,
I would like to applay my own turbulence model by writing UDF function. Is this possible in Fluent? Any advice will be very helpful. BR, ff |
|
November 8, 2002, 10:31 |
Re: Writing own turbulence model
|
#2 |
Guest
Posts: n/a
|
I think I understand your dilemma. You have the turbulence model (or the makings of one), but not the solver and some way of viewing/outputting your results. I may be wrong, but unfortunately I think it is not possible to do want you want with Fluent. My understanding of UDFs is that they are for getting more specific information about cells and faces than Fluent's defaults output. For example, if you wanted specific time-dependent data from a certain range of cells on a face, then this is a good applicaton for a UDF. Also UDF can be used for inputting profiles for velocity, temperature, radiation, et cetera, as boundary conditions. Fluent uses C in the UDFs and in Fluent 5 I'm fairly sure that no arrays are possible, among other limitations to the C language, so if this is the case, then you can see that it is probably not likely you will be able to implement a hand-written turbulence model. On the other hand, Fluent's primary turbulence models (Spalart-Almaras, K-e, and RNG) work quite well, so its probably more trouble than its worth to use Fluent as the environment to run your turbulence model. To get a definitive answer to your question, you could contact Fluent and ask them directly.
|
|
November 8, 2002, 10:48 |
Re: Writing own turbulence model
|
#3 |
Guest
Posts: n/a
|
Thank you, for your promptly answer. Is it possible to add some additional terms in scalar transport equations (like k or E) with UDF.
Best Regards, |
|
November 8, 2002, 11:20 |
Re: Writing own turbulence model
|
#4 |
Guest
Posts: n/a
|
Yes, it is possible to implement a new turbulence model using UDFs. It is not easy though. You might want to ask fluent if they can provide you with an example - I remember seeing a k-w model implemented as a UDF for Fluent 5 some time ago.
|
|
November 9, 2002, 23:03 |
Re: Writing own turbulence model
|
#5 |
Guest
Posts: n/a
|
I think, even if you are smart, it may take your 4/5 yrs of your dedicated time to implement a new turbulence model using UDFs. Why not writing a complete independent code??!! There are lots advantages and desadvantages though.
DC |
|
November 10, 2002, 06:17 |
Re: Writing own turbulence model
|
#6 |
Guest
Posts: n/a
|
With a good example to start from it shouldn't be more than a weeks work to implement a new model and run a few validation cases.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding a Turbulence Model | doug | OpenFOAM Running, Solving & CFD | 11 | May 21, 2018 14:54 |
SimpleFoam case with SpalartAllmaras turbulence model implemented | nedved | OpenFOAM Running, Solving & CFD | 2 | November 30, 2014 23:43 |
KOmega Turbulence model from wwwopenFOAMWikinet | philippose | OpenFOAM Running, Solving & CFD | 30 | August 4, 2010 11:26 |
turbulence model equation | Andy Chen | FLOW-3D | 4 | January 1, 2010 22:45 |
SSG Reynolds Turbulence Model | Georges | CFX | 1 | February 28, 2007 17:15 |