CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   how to apply constant velocity to particles during the simulation (https://www.cfd-online.com/Forums/fluent/128921-how-apply-constant-velocity-particles-during-simulation.html)

mohammad January 24, 2014 01:52

how to apply constant velocity to particles during the simulation
 
Dear all,
I am simulating a domain with some particles moving in a certain direction during the whole simulation. My problem is to apply this constant velocity to the particles in the entire domain and during my simulation.

Does anyone have any idea or suggestion?

thanks

marek_ac January 24, 2014 02:47

Hi,
Have a look here - description is in polish :)
http://feazone.org/readarticle.php?article_id=11
vx, vy, vz are wind velocity.
If equation you solve is the same use Galerkin method with up-winding.
Marek

pakk January 24, 2014 04:17

I could imagine a udf that looks like this:
Code:


 DEFINE_DPM_SCALAR_UPDATE(fixedvel,cell,thread,initialize,p)
 {
    P_VEL(p)[0]=10.0;
    P_VEL(p)[1]=0;
    P_VEL(p)[2]=0;
  }

This will give a velocity in the x-direction of 10 m/s, once you attached the udf to the dpm modeling.

Although I must admit that I find it difficult to believe that you really want to force the particles to always have the same velocity, and would advise you to take a step back and look at your physical model and the problem you are trying to solve.


All times are GMT -4. The time now is 11:35.