Comments (6)
In the line
data = dde.data.PDE(geom, pde, bc, num_domain=1200, num_boundary=120, num_test=1500)
you only need to specify the number of training points, and then DeepXDE will automatically set up the training points for you (random uniform in the domain).
If you don't want DeepXDE to do this for you, you can also specify the locations of the training points using:
dde.data.PDE(..., anchors=X)
where X
is a N
by d
matrix of total N
points, with each row is one point of d
-dim.
from deepxde.
Hi,
Nive job !
1 - I manage to run this example but the simulation is very slow, it takes 15min, is it normal ?
2 - Is there a way to define multiple geometry domain ? I'd like to solve the heat equation in a decomposed domain \Omega_i (each one have a conductivity coefficient).
3 - When do you plan to switch to tensorflow 2 ?
Best regards.
from deepxde.
- Which version are you using, and which example? Update to the latest version if not.
- Yes, you can define a geometry composed from more than one sub-domains, e.g.,
geom1 = dde.geometry.Rectangle(...)
geom2 = dde.geometry.Disk(...)
geom = geom1 | geom2
For more details, check Fig 6 in the paper.
- Hopefully, TF 2 will be supported in one month.
from deepxde.
I ran the L-shape laplacian with deepxde installed from pip (version 0.5)
from deepxde.
There is a bug in v0.5.0. You can either upgrade to v0.5.1, or to the latest version 0.6.0. I recommend v0.6.0, but there is an API change in PDE
class (check the examples).
from deepxde.
TF2 is supported.
from deepxde.
Related Issues (20)
- anchors problem (Additional points getting generated by BCs and ICs)
- Problems in calculating the flow around two-dimensional airfoils HOT 3
- Applying forces on geometries HOT 4
- Type mismatch when trying to use L-BFGS HOT 5
- Calculating the NN output in "losses" function of PDE class HOT 3
- Navier Stokes Dynamic surface Boundary Conditions HOT 15
- How to put higher order boundary conditions while solving 4th order time dependent pde (1d) HOT 1
- How to ignore reference solution HOT 1
- Failed to generate irregular domain via geometry.csg.CSGDifference() function. HOT 1
- how exactly does the train_x work? HOT 3
- Higher order derivatives by using dde.grad.jacobian and dde.grad.hessian HOT 7
- 2D Wave Equation With Initial Conditions and Disk Deformity. HOT 4
- Get a very small loss but the results are completely not correct HOT 3
- How to implement learning rate anealing? HOT 2
- AttributeError on auxiliary_var_fn obtaining residuals using PI-DeepONet HOT 3
- Inverse problem for a space and time dependent variable. HOT 3
- Heat conduction equation with contact boundary and output-dependent parameters. HOT 3
- L-BFGS iteration records HOT 2
- How do I train pideepon with my own data? HOT 2
- How to solve inverse problem with parameters in the boundary condition? HOT 6
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 deepxde.