|
[Sponsors] |
Question about implementing "solve" in solvers |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 17, 2013, 20:16 |
Question about implementing "solve" in solvers
|
#1 |
Member
Guifan Li
Join Date: Apr 2011
Location: New York City, U.S.
Posts: 96
Rep Power: 14 |
Dear Foamers,
I have been using OpenFOAM for more than a year, most of my case is about just use the exist solvers the software. Now, I want to get started about development my own solver. It maybe a dull question to ask. But where can I find the code of "solve" function in the below sample code? like While(simple.loop()) { Info<<"time= "<<runTime.timeName()<<nl<<endl; while(simple.correctNonOrthogonal()) { solve ( fvm::ddt(T) +fvm::div(phi,T) -fvm::laplacian(DT,T) ); }} And how about laplacian, div? Many thanks! |
|
June 18, 2013, 02:38 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
ddt, laplacian and so on are memebrs of fvm class
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
question about uds | tanven | FLUENT | 2 | July 5, 2015 12:22 |
Definition of Residuals in pressure-based and density-based solvers | gravis | FLUENT | 2 | April 21, 2010 05:08 |
Question about Table applicaiton. | universez | OpenFOAM Running, Solving & CFD | 0 | January 12, 2010 21:31 |
Question About solvers and interpolation schemes | titio | OpenFOAM Running, Solving & CFD | 0 | July 9, 2009 12:41 |
Iterative equation solvers in CFD | Vitaly Bulgakov | Main CFD Forum | 32 | March 1, 1999 12:11 |