Hi Joel, Thanks for pointing out the bug with restarts for moving grids. The attached tar file contains fixed versions of cg/common/moving/src/MovingGrids.C cg/common/moving/src/RigidBodyMotion.C that hopefully will fix the problem. You will need to regenerate the show file that you use for restarts. ...Bill Joel Guerrero wrote:
Hi, I'm trying to restart a moving body simulation on cg.v22, but I'm getting this error: read from a show file getInitialConditions: readFromShowFile *SteadyAirfoil.show UnsteadyAirfoil.show mount the showfile: UnsteadyAirfoil.show mount the showfile...done ShowFileReader::open: File descriptor limits = 1024, 8192, setting maxNumberOfOpenFiles=512. Found Frame Series : defaultFrameSeries with id=0 FrameSeries : defaultFrameSeries : 4 frames, 0 sequences found , is a moving grid problem ShowFileReader : getting general parameters for root directory ShowFileReader : getting general parameters for defaultFrameSeries ShowFile: parameter 0: name=incompressibleNavierStokes value=pde ShowFile: parameter 1: name=pressureComponent value=0 ShowFile: parameter 2: name=uComponent value=1 ShowFile: parameter 3: name=vComponent value=2 ShowFile: parameter 4: name=wComponent value=-1 ShowFile: parameter 5: name=isAxisymmetric value=0 ShowFile: parameter 6: name=axisymmetricBoundaryCondition value=13 ShowFile: parameter 7: name=nu value=1.000000e-04 8 general parameters were found in frame series defaultFrameSeries -1 getInitialConditions: time taken from file =2.700e-02Header comment: Incompressible NS, nu=1.00e-04 Header comment: t= 2.70e-02, dt=2.00e-04, ad21=0.2 ad22=0.2 getInitialConditions:cg.numberOfGrids()=2, cgSF.numberOfGrids()=2,getInitialConditions:cg.numberOfComponentGrids()=2, cgSF.numberOfComponentGrids()=2, getInitialConditions:The show file holds a moving grid problem. I will use the grid from the show file getInitialConditions:INFO reading in movingGrids info from the show file terminate called after throwing an instance of 'std::bad_alloc' what(): St9bad_alloc Aborted With the previous version (overblown) I had no problems restarting a moving body simulation. Any idea of what could be the problem???? What are the possible sources of this error? Regards, Joel __________________________________________________ Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com