|
[Sponsors] |
Adding implicit source term to momentum equation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 18, 2009, 04:31 |
Adding implicit source term to momentum equation
|
#1 |
Senior Member
Dr. Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 222
Rep Power: 18 |
after spending days in unterstanding the source code and the mathematics of the oodles solver to add a velocity dependend source term to the navier stokes equation I now have a idea but I am not really sure if this is right.
So hopefully somebody could verfify my idea and here it comes: I want to add the following term to my navier stokes equation on the right hand side: F_i = - cd * a * mag(U) * U I want to treat this term implicit. After searching the forum and the source code of the other solver it should be possible to do this: fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) + sgsModel->divDevBeff(U) + fvm::Sp(cd*a*mag(U),U) ); For my understanding OpenFoam will handle U implizit but mag(U) will be explizit? But I is it also possible and reasonable to do something like this: fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) + sgsModel->divDevBeff(U) + fvm::Sp(mag(fmv::Sp(cd*a, U)), U) ); cd is a scalar and a in the first approach too but in the end it should be a scalar field. So I havent tried this yet it is still theoretical but may be someone could verify my idea :-D thx Fabian |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
momentum source term | zwdi | FLUENT | 14 | June 27, 2017 15:40 |
Mass source, Momentum source theory. | diffo | FLUENT | 4 | August 21, 2009 10:26 |
Problem with Joulebs effect source term in the energy equation | galaad | OpenFOAM Running, Solving & CFD | 0 | January 19, 2006 12:01 |
PDE in udf for defining momentum source term | shekhar | FLUENT | 0 | April 12, 2004 01:43 |
adding source term confusion | tedmcc | CFX | 4 | September 27, 2001 05:05 |