On Thu, Jun 26, 2008 at 1:25 PM, stéphane tchouanmo <[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> Im trying to solve a two-variable transient system and want to consider a 
> different initial condition for each variable.
> Actually I use one system and add two variables of different size to it. Then 
> I would like to attach an initial function to each variable of the system. 
> Usually a "system.attach_init_function" will make a L2 projection of the 
> initial given function on the system's solution ie. the global variable at 
> first step. But how do you project two different functions on each of the two 
> variables (which supposes taking into account the size of each variable).
> Does anybody have an idea? Is there a way to do such a thing in Libmesh? 
> Because I cant find something like that.

You can only attach one initialization function, but the
initialization function you attach can call other functions which
initialize each variable separately.  Or you can just initialize each
variable from within the function you attach.


-- 
John

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to