Exactly! I hadnt seen that the "system.project_solution" considered the unknown name, sorry :-)
Thanks a lot. Stephane. ---------------------------------------- > Date: Thu, 26 Jun 2008 13:41:58 -0500 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: [Libmesh-users] attach_init_function in Libmesh > CC: [email protected]; [EMAIL PROTECTED] > > 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 _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr ------------------------------------------------------------------------- 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
