|
[Sponsors] |
DEFINE_DPM_BODY_FORCE problem with the direction |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 15, 2017, 13:05 |
DEFINE_DPM_BODY_FORCE problem with the direction
|
#1 |
New Member
Join Date: Dec 2016
Posts: 11
Rep Power: 10 |
Hi everybody,
You may saw my previous posts about my current UDF. I'm working on an UDF to compute the magnetic force on a magnetit-particle. In order to do that, I'm using the DPM_BODY_FOCE macro for the UDF-Manual. My question is: how can't I get the direction in which the force is applied? Do I have to make an if-statement like in the example UDF with: Code:
if(i==0) ... else if(i==1) ... else(i==2) ... Please help me !! Thanks Tim |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ERROR: Flow direction on the boundaries must not be tangential to the boundary. | turbomax | CFX | 3 | October 27, 2024 07:19 |
problem with initial velocity in z direction in twophase eulerfoam | Hamzeh_Mirab | OpenFOAM | 0 | January 15, 2015 08:43 |
Where might I obtain a copy of FOAM-2.2/2.3...? | bigphil | OpenFOAM | 5 | July 27, 2010 12:54 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |