valentinaschueller / richards-swe-coupling Goto Github PK
View Code? Open in Web Editor NEWSimulate 1D groundwater flow coupled to water height
License: GNU General Public License v3.0
Simulate 1D groundwater flow coupled to water height
License: GNU General Public License v3.0
Issue was related to my DUNE setup.
two places where dt
is used at the moment:
Groundwater.dt.value
in the weak formGroundwater.scheme.model.dt
If one should be changed, both should be changed (use @property
for this?). But: is Groundwater.scheme.model.dt
actually used anywhere? It seems like an unused value, then we could get rid of it
We should introduce a relaxation step in the code, either before sending height data or after receiving it. I don't think preCICE itself supports it so it should be part of river.py
/ groundwater.py
I am unhappy with the way I am currently setting time step sizes, time windows, and simulation duration. For our analysis it should be possible:
precice-config.xml
and some of it to the solverssee https://precice.org/couple-your-code-implicit-coupling.html as a reference
basically a homogeneous Neumann BC1 but should be labelled as such
At the end of the while
loop in both Python scripts, I only call end_time_step()
if precice.action_read_iteration_checkpoint()
is required. This is in line with the preCICE tutorial. 1
With this simple check, subcycling/multirate doesn't work properly. end_time_step()
is called in two different cases:
Ideally, I would like to save model output only in the final iteration for every time step. Maybe check https://precice.org/couple-your-code-time-step-sizes.html for this?
Originally posted by @valentinaschueller in #14 (comment)
implicit coupling, same time step size
... with minimum recompilation overhead
Mostly to enable easier testing and scripting
The absolute value of analysis.get_S()
and process_results.compute_convergence_rate()
should be (almost) equal, especially for homogeneous Dirichlet boundary conditions.
Instead of storing the numpy arrays for the axis, height, and potential, store the data directly in a DataArray
(not just when saving the output in the end). This should also allow us to easily deal with subcycling issues (#15), since the data is clearly linked to a (potentially already existing) time step
use argparse
to have a proper command line interface.
I want simulations to be set up in a cleaner way to prevent inconsistencies between the Python executables and the preCICE configuration. This is related to #3, #4, #5, #6, #13.
Idea:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.