[Getdp] Re: Dirichlete Boundary conditon

Lin Ji jil at rpi.edu
Tue Jun 10 06:12:44 CEST 2003


Dear Christophe,
    With time dependent Dirichelete Boundary condition, can we still use
GenerateSeperate and Update in the TimeLoop to make it more efficient?
The Constraint and therefor the Formulation have been changed according to
your suggestion in an earlier email. Is the following going to work?

// with Dirichlete boundary source
Resolution {
   { Name Wave;
      System {
         { Name A; NameOfFormulation Wave; }
      }
      Operation { 
         InitSolution[A] ; 
         InitSolution[A] ;
         GenerateSeparate[A] ;
         TimeLoopNewmark[t_min,t_max,dt,0.25,0.5] {
            Update[A, 1] ; 
            Solve[A] ; 
            If[ SaveFct[] ] {
               SaveSolution[A] ;
            }
         } 
      } 
   }
}

Thanks,

Lin Ji

Dept. of Math., Amos Eaton
Rensselaer Polytechnic Institute
110 8th Street
Troy, New York 12180-3590

Phone: 518-276,8377 (work)