Exasim icon indicating copy to clipboard operation
Exasim copied to clipboard

initial field to dataout

Open e-dinesh opened this issue 3 years ago • 4 comments

@rloekvh @exapde suggestion to print the initial field data. The following commands start printing from t=0+dt onwards, not t=0. << pde.dt = dt*ones(1,nt); % time step sizes pde.soltime = 1:length(pde.dt);

e-dinesh avatar Jan 12 '22 09:01 e-dinesh

Exasim does not store the initial solution. I think we may want to have an option flag for users to decide whether they want to get the initial solution.

exapde avatar Jan 12 '22 20:01 exapde

@exapde any possible workaround (at least temporarily) ? I feel this is important for the users, who start using Exasim, to check whether their initialization is correct.

e-dinesh avatar Jan 14 '22 20:01 e-dinesh

That's a good suggestion. We'll update the code to store the initial solution.

exapde avatar Jan 19 '22 19:01 exapde

Temporarily, you can get the mesh structure and call the initu function in the pdeapp script to compute the initial solution. Alternatively, you can visualize the sequence of time-dependent solutions using paraview to see if they looks okay.

exapde avatar Jan 19 '22 19:01 exapde