On Thu, 31 Jan 2008, Joe Myre wrote:

> I have been wondering how initial conditions are defined in some of the
> examples I've looked at.  For instance, in example 10, what defines the heat
> source as initially being located in the lower left?

In the attached initialization routine init_cd,
system.project_solution projects the analytic function exact_value
(which is just an adapter to the same exact_solution function as used
in ex9) onto the initial finite element space.

> Or in the examples using the wave equation, what defines where the
> wave starts?  I'm probably

The transient wave problem in ex8 has an attached initialization
routine apply_initial, which just zeros out the fluid
pressure/velocity/acceleration.  The forcing in this problem comes
from the Dirichlet BCs.
---
Roy

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to