CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Question about implementing "solve" in solvers

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 17, 2013, 20:16
Default 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
liguifan is on a distinguished road
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!
liguifan is offline   Reply With Quote

Old   June 18, 2013, 02:38
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
ddt, laplacian and so on are memebrs of fvm class
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
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


All times are GMT -4. The time now is 21:36.