Not for initial conditions. I am adding some post-processing variables (Mach, cp, p, T, etc.) after solution of Euler equations. I want to also use the VTKIO to write out the post-processed variables.
So, I ended up adding another system to my equation systems, which only defines these additional variables and a post process method. Then, after each solve of the euler system, I call the post process method, which in-turn, updates these values at each node. So far it seems to be working OK. Thanks, Manav On Mar 12, 2013, at 12:11 PM, John Peterson <[email protected]> wrote: > > > > On Tue, Mar 12, 2013 at 9:36 AM, Manav Bhatia <[email protected]> wrote: > Ok, so if I iterate over the pid_nodes and set the nodal variable values in > system.solution, should I call any function (localization, etc.) on the > solution vector before I can use it (for example, write it out using VTKIO)? > > Are you setting initial conditions? In general directly setting values in > system.solution is a bad idea, but I think calling system.update() after > setting local values should do the proper communication. > > -- > John ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
