CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Usage of DEFINE_DPM_SOURCE

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2023, 05:19
Default Usage of DEFINE_DPM_SOURCE
  #1
Member
 
Chris
Join Date: Dec 2020
Posts: 45
Rep Power: 6
Pyrokrates is on a distinguished road
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
Pyrokrates is offline   Reply With Quote

Reply

Tags
dpm


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 14:51.