Comments (8)
Thanks for your interest in these tools.
So, what is needed is to recognize an initial condition for du/dt
for any given u
, take a look here. This is where we recogize the initial condition for u
for any given u. Things to note, we only need to recognize ICs when an undiscretized dimension (usually t
) is defined, hence the check that t == nothing
. We recognize the IC by comparing the equation that the user supplied in the vector of bcs
(see docs), checking if its lhs matches with the symbol for u
at the initial time, defined for all dependant variables in initmaps
. What we need is a dtinitmaps
, that will recognize when the lhs is a time derivative at the initial time - the rhs will then be discretized as in the linked line.
Take a look here for what form ODESystem
needs the initial derivative in (the call is here).
Let me know if you get stuck or have any questions :)
from methodoflines.jl.
@xtalax I was on vacation for the past weeks. But I have started this now. :D
from methodoflines.jl.
@dynamic-queries I'm going to start work on this if you don't have anything to share yet, all good?
from methodoflines.jl.
Finally, we need tests for this.
from methodoflines.jl.
@dynamic-queries Have you made any progress on this? I'm thinking of attempting this if you haven't started.
from methodoflines.jl.
Note to self: Notify "George Gkountouras" when this is merged
from methodoflines.jl.
@dynamic-queries Can you submit a PR with what you've got so far so I can track progress and assist?
from methodoflines.jl.
A note, you should create any changes in a branch of your fork of this package, else you won't be able to submit a PR
from methodoflines.jl.
Related Issues (20)
- How to check the full(DerivativeOperators) in MethodOfLines
- BoundsError in Discretizing Interface Domains with Different Point Counts
- type PDESystem has no field analytic HOT 1
- Docs for solving the heat equation: extract solution HOT 5
- ArgumentError: Differential w.r.t. multiple variables Any[t, ...] are not allowed. HOT 2
- Interpolate grid values for staggered grid discretization
- Symbolic tracing in staggered grid can return Nans
- UndefVarError: `issymbollike` not defined HOT 3
- Move to using SymbolicUtils chains
- Package installation error HOT 1
- `discretize` errrors when a subset of equations have no time derivatives HOT 5
- Equation + State mismatch dependent on grid spacing
- MethodOfLines down-versions ModelingToolkit HOT 1
- Error with test/pde_systems/MOL_1D_Interface_Nonlinear.jl
- MOL & BoundaryConditions HOT 3
- PDAE example HOT 5
- PDESystem & arguments
- "ExtraVariablesSystemException: The system is unbalanced" Error while solving a PDE! HOT 4
- System of PDEs Initial Failure warning and MethodError HOT 1
- System of PDEs `solve` error
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 methodoflines.jl.