mardom
New member
- Oct 11, 2016
- 4
Hi to everyone,
I would like to know how to set a body force which depends on coordinates. I give you an example:
My domain is a free cylinder, but instead of a body force as gravity (which has the same value at every point of the volume), I want to set a body force which depends on the radius distance, F = A*r^2 (F will be 0 in the z-axis and maximum in the cylinder maximun radius). I also remind that r=sqrt(x^2+y^2)).
Then, summarizing:
1.- How should I set volume/body forces?
2.- How can make this body force position-dependent?
Thanks.
I would like to know how to set a body force which depends on coordinates. I give you an example:
My domain is a free cylinder, but instead of a body force as gravity (which has the same value at every point of the volume), I want to set a body force which depends on the radius distance, F = A*r^2 (F will be 0 in the z-axis and maximum in the cylinder maximun radius). I also remind that r=sqrt(x^2+y^2)).
Then, summarizing:
1.- How should I set volume/body forces?
2.- How can make this body force position-dependent?
Thanks.