|
[Sponsors] |
March 21, 2023, 05:19 |
Usage of DEFINE_DPM_SOURCE
|
#1 |
Member
Chris
Join Date: Dec 2020
Posts: 45
Rep Power: 6 |
Hey,
I have calculated a value E_vec which has three components (stored in UDMI0, UDMI1 and UDMI2). Now I would like to add a Force term to the DPM. How can I use DEFINE_DMP_SOURCE? I have only found two small examples which do not help that much. I want to know, how to add all three components (value in x-, y- and z-Direction) to my equation and how to return the values from my function. The source term looks in general like F_ext = C * E_vec where C is a constant and E_vec is the vector of my three components. Thanks for any help or hints in advance. Pyro |
|
Tags |
dpm |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CPUs vs GPUs for CFD? | hami11 | Hardware | 22 | July 23, 2024 16:59 |
CFX memory usage with re-meshing | gera | CFX | 4 | June 5, 2022 12:12 |
Large memory usage for steady simulation | Wenqiang | SU2 | 2 | May 15, 2020 14:40 |
Boosting CPU usage | earlybird | FLUENT | 2 | November 2, 2012 11:32 |
OpenFOAM Solver/BC usage description | murrayjc | OpenFOAM | 3 | August 25, 2009 05:48 |