CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   how to define restituition coefficient using UDF? (https://www.cfd-online.com/Forums/fluent/48660-how-define-restituition-coefficient-using-udf.html)

haijj July 2, 2008 11:08

how to define restituition coefficient using UDF?
 
hi, everyone~~~

in many simulations for gas-solid flows, the restituition coefficient (e) is always treated as a constant. But some researchers considered that e was the function of voidage, so I want to know how to modify the restitution coefficient using UDF. I check the help files provided by Fluent, but cannot find the solution. Could anybody help me? thanks very much~~~~

Paul July 2, 2008 11:24

Re: how to define restituition coefficient using U
 
I'm not sure but try

DEFINE_EXCHANGE_PROPERTY

Paul


haijj July 2, 2008 21:45

Re: how to define restituition coefficient using U
 
thanks~~~

which file in src can we find the definition of restitution coeff.?


Paul July 2, 2008 22:58

Re: how to define restituition coefficient using U
 
I don't know where in the src could you find the definition of the restitution coefficient.

In GUI the restitution coefficient could be changed at Phases->Interactions->Collisions.

In a UDF you could change the restitution coefficient by changing the model of interactions in phases.

Anyway this is how I would try to define a variable restitution coefficient:

The interaction drag between two solid phases is modeleted in Fluent by symlal-obrien-symmetric, this model uses the constant restitution coefficient provided by you in GUI at Collisions.

Pick the relations for this model, implement the model in a UDF as a DEFINE_EXCHANGE_PROPERTY and use your relation for the restitution coefficient.

Then you could hook your function instead of the classic symlal-obrien-symmetric.

Paul


Woo Meng Wai July 7, 2008 00:38

Re: how to define restituition coefficient using U
 
Hi,

An alternative is to re-write the whole REFLECT particle boundary condition model using DEFINE_DPM_BC (can be foudn in the UDF manual). The example given in the UDF manual corresponds to the REFLECT condition. You can then add your mathematical description of the restitution factor in the UDF.

Might or might not be the best way. Do let us know.

Best regards, Woo


haijj July 8, 2008 22:46

Re: how to define restituition coefficient using U
 
thanks, but the model I use is Eulerian-Eulerian, not DPM

haijj July 9, 2008 23:26

Re: how to define restituition coefficient using U
 
can anyone help me? thanks


All times are GMT -4. The time now is 04:03.