CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Use OpenFOAM solving simple PDE. (http://www.cfd-online.com/Forums/openfoam-solving/118123-use-openfoam-solving-simple-pde.html)

sharonyue May 21, 2013 08:57

Use OpenFOAM solving simple PDE.
 
2 Attachment(s)
Hi Guys,

I want to solve this equation:IMAGE 1.In my solver I write my equation in this form:Is this write?
Code:

solve
            (
                fvm::laplacian(T)-a*pow(T,4)
            );

Luckly I can solve this equation,but my problem is only a is a very small number such as 0.000000000000001 can this equation be solved.

I want to use OpenFOAM solving this simple PDE I think its not a thing.There must be something wrong in my setting.Anyone help me check it out?and how can I get the analytic solution?Thanks in advance.


All times are GMT -4. The time now is 02:33.