|
[Sponsors] |
March 8, 2013, 06:27 |
Define_dpm_erosion & difine_grid_motion
|
#1 |
Member
Ali Mohamadi
Join Date: Aug 2012
Posts: 32
Rep Power: 14 |
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 |
|
March 10, 2013, 06:37 |
|
#2 |
Member
Ali Mohamadi
Join Date: Aug 2012
Posts: 32
Rep Power: 14 |
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.
|
|
March 10, 2013, 12:24 |
|
#3 |
Senior Member
SSL
Join Date: Oct 2012
Posts: 226
Rep Power: 15 |
What is the problem my friend?
|
|
|
|