[petsc-users] Parallel FEM code using PETSc
Vincent Huber
vincent.huber at cemosis.fr
Thu Feb 11 04:03:11 CST 2016
Hello,
I’m not convinced the following will be find simple enough but Feel++
<http://www.feelpp.org> match the other expectations.
In the example on the main page of the web site, you only have to change
the line
a+=on(_range=boundaryfaces(mesh), _rhs=l, _element=u, _expr=cst(0.) );
to
a+=on(_range=boundaryfaces(mesh), _rhs=l, _element=u,
_expr=expr(soption("functions.g")) );
and run the code with
mpirun -np xxx ./feelpp_theApp --functions.g="2*x*y=x=y"
To change the bc you want to impose.
I (highly) recommend Ubuntu 14.04 to test the library.
The documentation is here <http://book.feelpp.org/>
You may also have a look to FreeFem++ <http://www.freefem.org/>
All the best,
VH
2016-02-11 10:18 GMT+01:00 Farshid Mossaiby <mossaiby at yahoo.com>:
> Hi all,
>
> Can somebody point me to a simple, linear, parallel FEM code based on
> PETSc, implementing efficient application of non-homogeneous Dirichlet BC?
> Domain decomposition code will is also welcome.
>
> TIA
>
--
Docteur Ingénieur de recherche
CeMoSiS <http://www.cemosis.fr> - vincent.huber at cemosis.fr
Tel: +33 (0)3 68 8*5 02 06*
IRMA - 7, rue René Descartes
67 000 Strasbourg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160211/e42aa13a/attachment.html>
More information about the petsc-users
mailing list