Opened 16 years ago

Closed 14 years ago

#249 closed defect (fixed)

problem with domain.set_time()... NO writer?

Reported by: nick Owned by: ole
Priority: low Milestone:
Component: Functionality and features Version:
Severity: normal Keywords:


In the model to validate ANUGA to the circular island wavetank experiment. I have tried to start a model at 20 seconds using the following code. However I get an error about a 'writer'. I have checked in the code, look in anuga_validation circular_island, the 'domain.set_time(20.0)' line is commented out.

domain.set_boundary({'wave': Bts, 'wall': Br, 'buffer':Bd})
# Evolve through time
import time
t0 = time.time()

for t in domain.evolve(yieldstep = 1, finaltime = 30):

Here is the error

File_function data obtained from: ts2cnew1_input.tms
    Start time:   0.000000
Traceback (most recent call last):
  File "", line 249, in ?
    for t in domain.evolve(yieldstep = 1, finaltime = 30):
  File "/d/cit/1/cit/unixhome/nbartzis/anuga/anuga_core/source/anuga/shallow_water/", line 432, in evolve
  File "/d/cit/1/cit/unixhome/nbartzis/anuga/anuga_core/source/anuga/shallow_water/", line 461, in store_timestep
AttributeError: Domain instance has no attribute 'writer'

Change History (1)

comment:1 Changed 14 years ago by nariman

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.