Post reply

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: moloy_kb
« on: March 14, 2012, 11:04:12 AM »

Thanks for the reply. But, that will give the position of one particle and I need to know the position of all the particles at a time and also to store all those, so that further calculation can be done.
Posted by: william
« on: March 14, 2012, 09:16:20 AM »

To get particle position using UDF use:



Tracked_Particle *p;

int x,y,z;

x=p->state.pos[0];    // x component of the particle position
y=p->state.pos[1];   //y component of the particle position
z=p->state.pos[2];   //z component of the particle position



You may need to run transient particle tracking because in steady tracking each particle is tracked separately.
Posted by: moloy_kb
« on: March 14, 2012, 05:24:09 AM »

Hi,
I want to calculate the particle interaction force using DPM. For this force calculation I have to know the position of each and every particle at any particular step. Suppose I want to calculate the force on 'P' th particle, then that force is dependent on position of each particle, like
Force_on-Pth_part=Function(Position-part1+Position-part-2+.....+Position-part-N), where we assume that there are 'N' no of particles are injected.
The entire calculation has to be repeated for each particle that are being tracked.
Please help me in this regard.