|
[Sponsors] |
November 20, 2016, 04:54 |
adding source terms
|
#1 |
New Member
manar
Join Date: Oct 2016
Posts: 17
Rep Power: 10 |
Hello guys ,
This might be basic question , how can I add a vector product source term .eg F X T , to a momentum equation . I know it should be some thing like : #include "udf.h" DEFINE_SOURCE(cell_x_source, cell, thread, dS, eqn) { real source; source = F X T dS[eqn] = ????; return source; } Both vectors is calculated through another UDS , how can I introduce these vector above and how can I express the mathematical vector product above ? any suggestion is appreciated |
|
Tags |
fluent, udf and programming |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] difficulties installing swak4foam | newbie29 | OpenFOAM Community Contributions | 120 | October 21, 2022 05:01 |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 18:18 |
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error | FerdiFuchs | OpenFOAM Community Contributions | 27 | April 16, 2014 16:14 |
[swak4Foam] swak4Foam-groovyBC build problem | zxj160 | OpenFOAM Community Contributions | 18 | July 30, 2013 14:14 |