Solves a simple Laplace equation, e.g. for thermal diffusion in a solid. More...
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
Solves a simple Laplace equation, e.g. for thermal diffusion in a solid.
Original source file mylaplacianFoam.C
Definition in file mylaplacianFoam.C.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 33 of file mylaplacianFoam.C.
References fvMesh::C(), GeometricField::component(), Foam::endl(), forAll, Foam::Info, k, Foam::fvc::laplacian(), mesh, fvMatrix::solve(), T, and TEqn().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.