CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   UDF for a field size (https://www.cfd-online.com/Forums/fluent/75997-udf-field-size.html)

spring May 11, 2010 09:02

UDF for a field size
 
Hi,
I want to see the influence of a magnetic field on iron particles in a tube. For this reason I have to couple the (magnetic fiel -) matrix (x,y,z-coordinates, F_mag) by a UDF. Furthermore I want the UDF to execute or to be triggered at the end of the flow process, i.e. at the end of the solution calculation.

Does anybody know how

1. I can couple a matrix which should be placed over the hole mesh by a UDF

and

2. I can bring this UDF to execute at the end of the calculation of the particle trajectories or after the particle trajectories are calculated


Concerning my second question I think I can use the "DEFINE_EXECUTE_AT_END" UDF, but I am not shure. So I would be really thankful for some help or ideas from you.

spring


All times are GMT -4. The time now is 00:14.