CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Define_dpm_erosion & difine_grid_motion (https://www.cfd-online.com/Forums/fluent/114282-define_dpm_erosion-difine_grid_motion.html)

Alimohamadi_nasr March 8, 2013 05:27

Define_dpm_erosion & difine_grid_motion
 
Hi Dear all;

I use DEFINE_DPM_EROSION and I need to reset F_STORAGE_R(f,t,SV_DPMS_ACCRETION) += mdot/area; after some specific time step.

As you know, if I do this inside the "DEFINE_DPM_EROSION", i will loose one time step data.

is it possible to reset it, outside of the "DEFINE_DPM_EROSION" from another macro or not?

I should bring the data in each specific time step to DIFINE_GRID_MOTION and then substitute previous data with new one.

Thanks

Alimohamadi_nasr March 10, 2013 05:37

before this, I tried to reset "F_STORAGE_R(f,t,SV_DPMS_ACCRETION)" at DEFINE_DPM_EROSION, but after some studying I found that it is impoosible, or in this way it causes that I loose one time step data. However, after resetting this array at DEFINE_GRID_MOTION my problem have been solved.

msaeedsadeghi March 10, 2013 11:24

What is the problem my friend? :)


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