Comments (7)
Hey @jlikermanUPC, I'll move this to the UW2 repo and take a look! Thanks for reporting the issue.
from underworld2.
Okay I've run a few tests, I'm not sure how your script is set up to restart the model but the following works:
- Run the model setup script again, all the way to the original 'Model.run_for' line.
- replace the Model.run_for with the restart parameters (e.g.) 'Model.run_for(1. * u.megayears, checkpoint_interval=0.007*u.megayears, restartStep=-1, restartDir=Model.outputDir )'
This will load the last timestep and start the model again.
I've tested this on UW v2.13.1b with the following script. If your script still isn't working it would be easier to troubleshoot if I had access to it.
Cheers
from underworld2.
Hi Ben!,
Indeed, it is working. And if I run my model a few steps, the restart also works. Could it be that if the passive tracers come out of the model, that's where the problem arises? I'll run some tests and keep you posted. If there are still problems, I'll share the script with you.
Thanks!
from underworld2.
All good, let me know how it goes @jlikermanUPC
I just tried the test script again with a lower and larger number of particles than that created in the model so I don't think it's that. From the error message it is an error with a mapping function, which is usually a dictionary that maps the material to the material parameters (viscosity, density etc). I'm not sure why the passive tracers would be causing this to be honest. It usually occurs when there is a material index that isn't mapped to a density or viscosity value/function. Was your reload call (Model.run_for) before you'd set up the viscosity mapping to the materials?
from underworld2.
Hey @jlikermanUPC, how did you get on?
from underworld2.
Hi @bknight1, so far I haven't had errors again.
I'm going to close the issue for now.
Thanks!
from underworld2.
All good, happy to help!
from underworld2.
Related Issues (20)
- RuntimeError: There were left over keyword arguments. kwargs = [{'_fn_fssa': None}]
- communication between the UW2 model and the Badlands surface processes model
- UWGeodynamics velocitySurface_2D Bug HOT 1
- Coupled Evolution of Deformation, Pore Fluid Pressure, and Fluid Flow in the thrust-fold mountain belt ? HOT 4
- Uncoupled temperature and compositional field in UW Geodynamics HOT 2
- Adding two plasticities to one material HOT 3
- SystemError: <built-in function SystemLinearEquations_UpdateSolutionOntoNodes> returned a result with an exception set HOT 1
- Parallel computing and An installation problem (MpiRun) HOT 4
- 'surface' integration HOT 2
- Model.mesh.deform_mesh() error with mpirun. Possibly two nodes are in an identical location.
- Installation error HOT 11
- Compressible mantle convection with tala approximation HOT 1
- A question about strata results from coupled model HOT 3
- May I ask how is the second-order invariant of strain rate(function: fn.tensor.second_invariant)in underworld2.13 calculated?
- Question about using mesh.specialSets['MinI_VertexSet'] as a boundary index with parallel run
- Converging issue for 3D subduction model with oblique trench shape. HOT 1
- May I ask how to use Underworld2 modeling the melt-related process?
- An issue when using trapezoid mesh HOT 1
- issue with surface processes
- To find the example to generate collision_wedge.gif HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from underworld2.