|
[Sponsors] |
October 10, 2014, 20:01 |
writing a udf for a specific body force
|
#1 |
New Member
Amirali
Join Date: Oct 2014
Posts: 3
Rep Power: 11 |
hi
i managed to solve a problem with matlab and now i have a matrix which consists of magnitude of a force which is applied to the particles in all of the domain. in this matrix i component is equivalent to x position and j component is equivalent to y position. now if want to write a udf to take this force file and apply it to particles as a body force. could anyone help me how to write this udf ? should i use define_dpm_body_ force or another macro? how could i read this matrix file? thanks |
|
Tags |
body force, dpm, reading force matrix, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ActuatorDiskExplicitForce in OF2.1. Help | be_inspired | OpenFOAM Programming & Development | 10 | September 14, 2018 11:12 |
Writing txt file in an UDF | sayan_bose | Fluent UDF and Scheme Programming | 1 | February 3, 2014 07:52 |
having problem in writing a UDF for specific heat in fluent 14.0 | nands_bullwalker | Fluent UDF and Scheme Programming | 1 | June 29, 2013 10:32 |
error message | cuteapathy | CFX | 14 | March 20, 2012 06:45 |
Help: UDF of "particle body force" !!! | zhaoh | FLUENT | 3 | January 16, 2007 20:17 |