CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Solving PDE time dependent (https://www.cfd-online.com/Forums/openfoam/92966-solving-pde-time-dependent.html)

 DiracRules September 30, 2011 05:42

Solving PDE time dependent

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.

 nimasam September 30, 2011 05:53

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

 DiracRules September 30, 2011 11:38

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

 All times are GMT -4. The time now is 09:42.