You can subscribe to this list here.
2003 
_{Jan}

_{Feb}

_{Mar}

_{Apr}

_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}
(2) 
_{Oct}
(2) 
_{Nov}
(27) 
_{Dec}
(31) 

2004 
_{Jan}
(6) 
_{Feb}
(15) 
_{Mar}
(33) 
_{Apr}
(10) 
_{May}
(46) 
_{Jun}
(11) 
_{Jul}
(21) 
_{Aug}
(15) 
_{Sep}
(13) 
_{Oct}
(23) 
_{Nov}
(1) 
_{Dec}
(8) 
2005 
_{Jan}
(27) 
_{Feb}
(57) 
_{Mar}
(86) 
_{Apr}
(23) 
_{May}
(37) 
_{Jun}
(34) 
_{Jul}
(24) 
_{Aug}
(17) 
_{Sep}
(50) 
_{Oct}
(24) 
_{Nov}
(10) 
_{Dec}
(60) 
2006 
_{Jan}
(47) 
_{Feb}
(46) 
_{Mar}
(127) 
_{Apr}
(19) 
_{May}
(26) 
_{Jun}
(62) 
_{Jul}
(47) 
_{Aug}
(51) 
_{Sep}
(61) 
_{Oct}
(42) 
_{Nov}
(50) 
_{Dec}
(33) 
2007 
_{Jan}
(60) 
_{Feb}
(55) 
_{Mar}
(77) 
_{Apr}
(102) 
_{May}
(82) 
_{Jun}
(102) 
_{Jul}
(169) 
_{Aug}
(117) 
_{Sep}
(80) 
_{Oct}
(37) 
_{Nov}
(51) 
_{Dec}
(43) 
2008 
_{Jan}
(71) 
_{Feb}
(94) 
_{Mar}
(98) 
_{Apr}
(125) 
_{May}
(54) 
_{Jun}
(119) 
_{Jul}
(60) 
_{Aug}
(111) 
_{Sep}
(118) 
_{Oct}
(125) 
_{Nov}
(119) 
_{Dec}
(94) 
2009 
_{Jan}
(109) 
_{Feb}
(38) 
_{Mar}
(93) 
_{Apr}
(88) 
_{May}
(29) 
_{Jun}
(57) 
_{Jul}
(53) 
_{Aug}
(48) 
_{Sep}
(68) 
_{Oct}
(151) 
_{Nov}
(23) 
_{Dec}
(35) 
2010 
_{Jan}
(84) 
_{Feb}
(60) 
_{Mar}
(184) 
_{Apr}
(112) 
_{May}
(60) 
_{Jun}
(90) 
_{Jul}
(23) 
_{Aug}
(70) 
_{Sep}
(119) 
_{Oct}
(27) 
_{Nov}
(47) 
_{Dec}
(54) 
2011 
_{Jan}
(22) 
_{Feb}
(19) 
_{Mar}
(92) 
_{Apr}
(93) 
_{May}
(35) 
_{Jun}
(91) 
_{Jul}
(32) 
_{Aug}
(61) 
_{Sep}
(7) 
_{Oct}
(69) 
_{Nov}
(81) 
_{Dec}
(23) 
2012 
_{Jan}
(64) 
_{Feb}
(95) 
_{Mar}
(35) 
_{Apr}
(36) 
_{May}
(63) 
_{Jun}
(98) 
_{Jul}
(70) 
_{Aug}
(171) 
_{Sep}
(149) 
_{Oct}
(64) 
_{Nov}
(67) 
_{Dec}
(126) 
2013 
_{Jan}
(108) 
_{Feb}
(104) 
_{Mar}
(171) 
_{Apr}
(133) 
_{May}
(108) 
_{Jun}
(100) 
_{Jul}
(93) 
_{Aug}
(126) 
_{Sep}
(74) 
_{Oct}
(59) 
_{Nov}
(145) 
_{Dec}
(93) 
2014 
_{Jan}
(38) 
_{Feb}
(45) 
_{Mar}
(26) 
_{Apr}
(41) 
_{May}
(125) 
_{Jun}
(70) 
_{Jul}
(61) 
_{Aug}
(66) 
_{Sep}
(60) 
_{Oct}
(110) 
_{Nov}
(27) 
_{Dec}
(30) 
2015 
_{Jan}
(43) 
_{Feb}
(67) 
_{Mar}
(71) 
_{Apr}
(92) 
_{May}
(39) 
_{Jun}
(15) 
_{Jul}
(46) 
_{Aug}
(63) 
_{Sep}
(84) 
_{Oct}
(82) 
_{Nov}
(69) 
_{Dec}
(45) 
2016 
_{Jan}
(92) 
_{Feb}
(91) 
_{Mar}
(148) 
_{Apr}
(43) 
_{May}
(58) 
_{Jun}
(117) 
_{Jul}
(92) 
_{Aug}
(140) 
_{Sep}
(49) 
_{Oct}
(33) 
_{Nov}
(85) 
_{Dec}
(40) 
2017 
_{Jan}
(41) 
_{Feb}
(36) 
_{Mar}
(49) 
_{Apr}
(41) 
_{May}
(73) 
_{Jun}
(30) 
_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

S  M  T  W  T  F  S 



1
(1) 
2
(10) 
3
(18) 
4

5

6
(2) 
7
(6) 
8
(15) 
9

10
(9) 
11
(8) 
12

13
(1) 
14

15
(10) 
16
(20) 
17
(1) 
18

19

20

21

22
(2) 
23
(13) 
24
(1) 
25

26
(1) 
27

28
(3) 
29
(4) 
30




From: John Peterson <jwpeterson@gm...>  20080428 17:50:04

On Mon, Apr 28, 2008 at 9:02 AM, Nasser Mohieddin Abukhdeir <nasser.abukhdeir@...> wrote: > Hi: > Thanks, I ended up figuring that out over the weekend, my background > in C is not serving me very well with C++! > So far I have run into two major difficulties which I think require > me to make some code additions. Note, I am posting this to the dlist in > case I am using LibMesh incorrectly, plus, I plan on eventually > submitting this code to the LibMesh developers if all goes well: > > 1) The AdaptiveTimeSolver implementation is not working well for my > system of PDEs. I think there are two reasons behind this: > a) the method involves solving three nonlinear steps per > overall timestep > which is extremely expensive for my system (on the order of > millions of DOFs) b) my system is "very" nonlinear, so the > provided algorithm is too optimistic and I end up having > to set the max_growth variable to limit the predicted > timestep. > The solution, I think, is to implement a more simple onestep algorithm > based on a discrete PIcontrol method (see the reference) using the LTE > estimate from the nonlinear step. Basically I would end up creating a > new AdaptiveTimeSolver class where you can chose the timeadaptive > algorithm and I would add the one I just mentioned plus maybe another > simple onestep algorithm. Sounds great! The current adaptive timesolver implementation is useful in many of the problems we've tackled but we don't expect it to work perfectly for all problems. Hopefully it will be possible to write your new solver(s) in the existing TimeSolver framework. > 2) Using adaptive meshing is a huge advantage, but I have an issue > finding a good initial mesh. I plan on implementing a simple routine > that repeats the initial time step, reprojecting the initial solution > on the refined mesh. This would get around the problem I have now where > my initial coarse mesh has to be notsocoarse to resolve my initial > solution (which involves a heaviside function). I'm not sure where this > would fit in to the LibMesh class structure. This is certainly an issue we commonly face. One common solution is to start with a coarse grid and adapt to the initial data; it sounds as though this is what you are already doing. The "exact" error indicator in LibMesh may help you here, if you are not already using it. > ref "Adaptive Multilevel Solutions of Nonlinear Parabolic PDE Systems," > Jens Lang, Springer 2001, pages 3235 J > > > Nasser Mohieddin Abukhdeir > Graduate Student (A.D. Rey Research Group) > McGill University  Department of Chemical Engineering > http://webpages.mcgill.ca/students/nabukh/web/ > http://people.mcgill.ca/alejandro.rey/ > > > > > > John Peterson wrote: > > Hi, > > > > Since your initialization function is a member function of a class you > > can't pass a pointer to it for project_solution the same way you would > > for a "global" function. An easy fix is to use a global function > > instead, but I believe there may be another, more correct way to > > achieve what you are trying to do. > > > > J > > > > On Wed, Apr 23, 2008 at 3:14 PM, Nasser Mohieddin Abukhdeir > > <nasser.abukhdeir@...> wrote: > > > >> Thanks for the informative answer, I moved over the DiffSystem and I > >> think I worked out some incorrect math, but now I am back to square one > >> with the initial condition of the transient problem. I added this line > >> to the end of my Nem2DSystem:init_data () call (Nem2DSystem is the name > >> of my class that inherits FEMSystem ): > >> > >> this>project_solution(initial_value, > >> NULL,(this>get_equation_systems()).parameters); > >> > >> where the initial value function is defined similar to the > >> nonDiffSystem example with an initial condition: > >> > >> Number Nem2DSystem::initial_value (const Point& p, > >> const Parameters& parameters, > >> const std::string& sysname, > >> const std::string& unkname) > >> > >> and I get a compile error that I cannot figure out: > >> > >> nem2dsystem.C: In member function \u2018virtual void > >> Nem2DSystem::init_data(): > >> nem2dsystem.C:149: error: no matching function for call to > >> \u2018Nem2DSystem::project_solution(<unresolved overloaded function > >> type>, NULL, Parameters&) > >> /home/grad/nasser/nemfem/libmesh0.6.2/include/solvers/system.h:165: > >> note: candidates are: void System::project_solution(Number (*)(const > >> Point&, const Parameters&, const std::string&, const std::string&), > >> Gradient (*)(const Point&, const Parameters&, const std::string&, const > >> std::string&), Parameters&) const > >> > >> I guess I have to study C++ templates a little more, but any ideas? > >> > >> Nasser Mohieddin Abukhdeir > >> Graduate Student (A.D. Rey Research Group) > >> McGill University  Department of Chemical Engineering > >> http://webpages.mcgill.ca/students/nabukh/web/ > >> http://people.mcgill.ca/alejandro.rey/ > >> > >> > >> > >> > >> > >> Roy Stogner wrote: > >> > > >> > On Wed, 23 Apr 2008, Nasser Mohieddin Abukhdeir wrote: > >> > > >> >> *** Solving time step 0, time = 1e07 *** > >> >> ERROR: LASPACK Error: > >> >> in ILUFactor for Mat: > >> >> Factorization produces zero pivot elements. > >> >> [0] src/numerics/laspack_linear_solver.C, line 276, compiled Apr 21 2008 > >> >> at 14:01:19 > >> >> Aborted > >> >> > >> >> Basically I added my expressions for the residual and Jacobian and > >> >> removed all of the boundary condition code because I need to impose > >> >> Neuman BCs (which from what I understand is implicitely taken care of by > >> >> the FEM algorithm). > >> > > >> > Homogeneous natural BCs are implicitly taken care of by the FEM > >> > formulation, but just what the "natural boundary condition" is depends > >> > on your precise formulation; if you've got something complicated, take > >> > a look at what boundary integrals pop out of your integration by parts > >> > to doublecheck that what you're setting to zero is what you want to > >> > be setting to zero. > >> > > >> >> I initialized t=0 with an acceptable solution to the equations, so I > >> >> just expected some smooth sailing... > >> > > >> > You're solving a transient problem, then? In an allNeumann problem > >> > with no reaction terms you can often get a singular matrix doing a > >> > steady solve (since the problem itself isn't uniquely defined); but > >> > for a transient problem, the mass matrix coming from the time > >> > integration should prevent anything like that from happening. > >> > > >> >> I am also wondering about DiffSystem, should I just scrap my work with > >> >> ex13 and start with DiffSystem? > >> > > >> > There are tradeoffs. DiffSystem makes it easier to add some new > >> > features (e.g. adaptive time stepping, more complex nonlinear > >> > equations) to your code, but it also means you'll have to make > >> > more changes to your code to keep up with the library. > >> > > >> > When you construct a DiffSystem subclass, you read: > >> > "Warning, This code is untested, experimental, or likely to see future > >> > API changes" > >> > > >> > The "untested" and "experimental" adjectives no longer apply, but > >> > "future API changes" certainly does. I'm probably going to alter even > >> > the most basic class methods to make it work better multithreaded. > >> > The changes should be straightforward (methods will take reference > >> > parameter(s) instead of using certain member variables), but it's > >> > never fun when your code suddenly requires repair because a new > >> > library version made backwards incompatible API changes. > >> >  > >> > Roy > >> > >>  > >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > >> Don't miss this year's exciting event. There's still time to save $100. > >> Use priority code J8TL2D2. > >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > >> _______________________________________________ > >> Libmeshusers mailing list > >> Libmeshusers@... > >> https://lists.sourceforge.net/lists/listinfo/libmeshusers > >> > >> > >  > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Libmeshusers mailing list > Libmeshusers@... > https://lists.sourceforge.net/lists/listinfo/libmeshusers > 
From: Nasser Mohieddin Abukhdeir <nasser.abukhdeir@mc...>  20080428 14:02:19

Hi: Thanks, I ended up figuring that out over the weekend, my background in C is not serving me very well with C++! So far I have run into two major difficulties which I think require me to make some code additions. Note, I am posting this to the dlist in case I am using LibMesh incorrectly, plus, I plan on eventually submitting this code to the LibMesh developers if all goes well: 1) The AdaptiveTimeSolver implementation is not working well for my system of PDEs. I think there are two reasons behind this: a) the method involves solving three nonlinear steps per overall timestep which is extremely expensive for my system (on the order of millions of DOFs) b) my system is "very" nonlinear, so the provided algorithm is too optimistic and I end up having to set the max_growth variable to limit the predicted timestep. The solution, I think, is to implement a more simple onestep algorithm based on a discrete PIcontrol method (see the reference) using the LTE estimate from the nonlinear step. Basically I would end up creating a new AdaptiveTimeSolver class where you can chose the timeadaptive algorithm and I would add the one I just mentioned plus maybe another simple onestep algorithm. 2) Using adaptive meshing is a huge advantage, but I have an issue finding a good initial mesh. I plan on implementing a simple routine that repeats the initial time step, reprojecting the initial solution on the refined mesh. This would get around the problem I have now where my initial coarse mesh has to be notsocoarse to resolve my initial solution (which involves a heaviside function). I'm not sure where this would fit in to the LibMesh class structure. ref "Adaptive Multilevel Solutions of Nonlinear Parabolic PDE Systems," Jens Lang, Springer 2001, pages 3235 Nasser Mohieddin Abukhdeir Graduate Student (A.D. Rey Research Group) McGill University  Department of Chemical Engineering http://webpages.mcgill.ca/students/nabukh/web/ http://people.mcgill.ca/alejandro.rey/ John Peterson wrote: > Hi, > > Since your initialization function is a member function of a class you > can't pass a pointer to it for project_solution the same way you would > for a "global" function. An easy fix is to use a global function > instead, but I believe there may be another, more correct way to > achieve what you are trying to do. > > J > > On Wed, Apr 23, 2008 at 3:14 PM, Nasser Mohieddin Abukhdeir > <nasser.abukhdeir@...> wrote: > >> Thanks for the informative answer, I moved over the DiffSystem and I >> think I worked out some incorrect math, but now I am back to square one >> with the initial condition of the transient problem. I added this line >> to the end of my Nem2DSystem:init_data () call (Nem2DSystem is the name >> of my class that inherits FEMSystem ): >> >> this>project_solution(initial_value, >> NULL,(this>get_equation_systems()).parameters); >> >> where the initial value function is defined similar to the >> nonDiffSystem example with an initial condition: >> >> Number Nem2DSystem::initial_value (const Point& p, >> const Parameters& parameters, >> const std::string& sysname, >> const std::string& unkname) >> >> and I get a compile error that I cannot figure out: >> >> nem2dsystem.C: In member function \u2018virtual void >> Nem2DSystem::init_data(): >> nem2dsystem.C:149: error: no matching function for call to >> \u2018Nem2DSystem::project_solution(<unresolved overloaded function >> type>, NULL, Parameters&) >> /home/grad/nasser/nemfem/libmesh0.6.2/include/solvers/system.h:165: >> note: candidates are: void System::project_solution(Number (*)(const >> Point&, const Parameters&, const std::string&, const std::string&), >> Gradient (*)(const Point&, const Parameters&, const std::string&, const >> std::string&), Parameters&) const >> >> I guess I have to study C++ templates a little more, but any ideas? >> >> Nasser Mohieddin Abukhdeir >> Graduate Student (A.D. Rey Research Group) >> McGill University  Department of Chemical Engineering >> http://webpages.mcgill.ca/students/nabukh/web/ >> http://people.mcgill.ca/alejandro.rey/ >> >> >> >> >> >> Roy Stogner wrote: >> > >> > On Wed, 23 Apr 2008, Nasser Mohieddin Abukhdeir wrote: >> > >> >> *** Solving time step 0, time = 1e07 *** >> >> ERROR: LASPACK Error: >> >> in ILUFactor for Mat: >> >> Factorization produces zero pivot elements. >> >> [0] src/numerics/laspack_linear_solver.C, line 276, compiled Apr 21 2008 >> >> at 14:01:19 >> >> Aborted >> >> >> >> Basically I added my expressions for the residual and Jacobian and >> >> removed all of the boundary condition code because I need to impose >> >> Neuman BCs (which from what I understand is implicitely taken care of by >> >> the FEM algorithm). >> > >> > Homogeneous natural BCs are implicitly taken care of by the FEM >> > formulation, but just what the "natural boundary condition" is depends >> > on your precise formulation; if you've got something complicated, take >> > a look at what boundary integrals pop out of your integration by parts >> > to doublecheck that what you're setting to zero is what you want to >> > be setting to zero. >> > >> >> I initialized t=0 with an acceptable solution to the equations, so I >> >> just expected some smooth sailing... >> > >> > You're solving a transient problem, then? In an allNeumann problem >> > with no reaction terms you can often get a singular matrix doing a >> > steady solve (since the problem itself isn't uniquely defined); but >> > for a transient problem, the mass matrix coming from the time >> > integration should prevent anything like that from happening. >> > >> >> I am also wondering about DiffSystem, should I just scrap my work with >> >> ex13 and start with DiffSystem? >> > >> > There are tradeoffs. DiffSystem makes it easier to add some new >> > features (e.g. adaptive time stepping, more complex nonlinear >> > equations) to your code, but it also means you'll have to make >> > more changes to your code to keep up with the library. >> > >> > When you construct a DiffSystem subclass, you read: >> > "Warning, This code is untested, experimental, or likely to see future >> > API changes" >> > >> > The "untested" and "experimental" adjectives no longer apply, but >> > "future API changes" certainly does. I'm probably going to alter even >> > the most basic class methods to make it work better multithreaded. >> > The changes should be straightforward (methods will take reference >> > parameter(s) instead of using certain member variables), but it's >> > never fun when your code suddenly requires repair because a new >> > library version made backwards incompatible API changes. >> >  >> > Roy >> >>  >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> Libmeshusers mailing list >> Libmeshusers@... >> https://lists.sourceforge.net/lists/listinfo/libmeshusers >> >> 
From: John Peterson <jwpeterson@gm...>  20080428 04:13:18

Hi, Since your initialization function is a member function of a class you can't pass a pointer to it for project_solution the same way you would for a "global" function. An easy fix is to use a global function instead, but I believe there may be another, more correct way to achieve what you are trying to do. J On Wed, Apr 23, 2008 at 3:14 PM, Nasser Mohieddin Abukhdeir <nasser.abukhdeir@...> wrote: > Thanks for the informative answer, I moved over the DiffSystem and I > think I worked out some incorrect math, but now I am back to square one > with the initial condition of the transient problem. I added this line > to the end of my Nem2DSystem:init_data () call (Nem2DSystem is the name > of my class that inherits FEMSystem ): > > this>project_solution(initial_value, > NULL,(this>get_equation_systems()).parameters); > > where the initial value function is defined similar to the > nonDiffSystem example with an initial condition: > > Number Nem2DSystem::initial_value (const Point& p, > const Parameters& parameters, > const std::string& sysname, > const std::string& unkname) > > and I get a compile error that I cannot figure out: > > nem2dsystem.C: In member function \u2018virtual void > Nem2DSystem::init_data(): > nem2dsystem.C:149: error: no matching function for call to > \u2018Nem2DSystem::project_solution(<unresolved overloaded function > type>, NULL, Parameters&) > /home/grad/nasser/nemfem/libmesh0.6.2/include/solvers/system.h:165: > note: candidates are: void System::project_solution(Number (*)(const > Point&, const Parameters&, const std::string&, const std::string&), > Gradient (*)(const Point&, const Parameters&, const std::string&, const > std::string&), Parameters&) const > > I guess I have to study C++ templates a little more, but any ideas? > > Nasser Mohieddin Abukhdeir > Graduate Student (A.D. Rey Research Group) > McGill University  Department of Chemical Engineering > http://webpages.mcgill.ca/students/nabukh/web/ > http://people.mcgill.ca/alejandro.rey/ > > > > > > Roy Stogner wrote: > > > > On Wed, 23 Apr 2008, Nasser Mohieddin Abukhdeir wrote: > > > >> *** Solving time step 0, time = 1e07 *** > >> ERROR: LASPACK Error: > >> in ILUFactor for Mat: > >> Factorization produces zero pivot elements. > >> [0] src/numerics/laspack_linear_solver.C, line 276, compiled Apr 21 2008 > >> at 14:01:19 > >> Aborted > >> > >> Basically I added my expressions for the residual and Jacobian and > >> removed all of the boundary condition code because I need to impose > >> Neuman BCs (which from what I understand is implicitely taken care of by > >> the FEM algorithm). > > > > Homogeneous natural BCs are implicitly taken care of by the FEM > > formulation, but just what the "natural boundary condition" is depends > > on your precise formulation; if you've got something complicated, take > > a look at what boundary integrals pop out of your integration by parts > > to doublecheck that what you're setting to zero is what you want to > > be setting to zero. > > > >> I initialized t=0 with an acceptable solution to the equations, so I > >> just expected some smooth sailing... > > > > You're solving a transient problem, then? In an allNeumann problem > > with no reaction terms you can often get a singular matrix doing a > > steady solve (since the problem itself isn't uniquely defined); but > > for a transient problem, the mass matrix coming from the time > > integration should prevent anything like that from happening. > > > >> I am also wondering about DiffSystem, should I just scrap my work with > >> ex13 and start with DiffSystem? > > > > There are tradeoffs. DiffSystem makes it easier to add some new > > features (e.g. adaptive time stepping, more complex nonlinear > > equations) to your code, but it also means you'll have to make > > more changes to your code to keep up with the library. > > > > When you construct a DiffSystem subclass, you read: > > "Warning, This code is untested, experimental, or likely to see future > > API changes" > > > > The "untested" and "experimental" adjectives no longer apply, but > > "future API changes" certainly does. I'm probably going to alter even > > the most basic class methods to make it work better multithreaded. > > The changes should be straightforward (methods will take reference > > parameter(s) instead of using certain member variables), but it's > > never fun when your code suddenly requires repair because a new > > library version made backwards incompatible API changes. > >  > > Roy > >  > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Libmeshusers mailing list > Libmeshusers@... > https://lists.sourceforge.net/lists/listinfo/libmeshusers > 