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

Solving PDE time dependent

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 30, 2011, 06:42
Default Solving PDE time dependent
  #1
New Member
 
Join Date: Jul 2011
Posts: 8
Rep Power: 15
DiracRules is on a distinguished road
Hi there!

I'm looking for a way to solve parabolic time dependent PDE (sth like Ut=Uxx).
Actually, I'm trying to write down my own solver since I need to perform some peculiar calculation, so what I'm asking is:

what kind of loop/iterative method should I use?

Since I'm quite new to CDF, I don't know all the possibilities and the different type of loops.

Thanks in advance!
DiracRules is offline   Reply With Quote

Old   September 30, 2011, 06:53
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
hi firend
openFOAM solves pde equation for learning look into basic solver!

for example a syntax like this in OpenFOAM can solve ur problem

Code:
solve (fvm::ddt(U) == fvm:: laplacian (U))
for more information about openFoam syntax look at programmer guide chapter 2
nimasam is offline   Reply With Quote

Old   September 30, 2011, 12:38
Default
  #3
New Member
 
Join Date: Jul 2011
Posts: 8
Rep Power: 15
DiracRules is on a distinguished road
Thank you!
I am ashamed of my question. Just did not think enough. It was obvious. I had already written that line of code, I just thought I needed something more "complicated" -.-''

And can you give me some info about solving eigenvalue problems (like Uxx=lambda *U?
I need the solver to find both lambda and U.
I thought something like making a loop on lambda and see which solutions are non-zero, but I don't think it would work and I guess there are less expensive ways.

Thx
DiracRules is offline   Reply With Quote

Reply

Tags
loop, pde, solver

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
SLTS+rhoPisoFoam: what is rDeltaT??? nileshjrane OpenFOAM Running, Solving & CFD 4 February 25, 2013 05:13
Full pipe 3D using icoFoam cyberbrain OpenFOAM 4 March 16, 2011 10:20
Error while running rhoPisoFoam.. nileshjrane OpenFOAM Running, Solving & CFD 8 August 26, 2010 13:50
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58


All times are GMT -4. The time now is 18:56.