Questions tagged [pde]

Use this tag for questions about partial differential equations. For questions about the Eclipse Plugin Development Environment, use eclipse-pde instead.

Partial Differential Equations are differential equations that contain unknown multivariable functions and their partial derivatives. See [http://en.wikipedia.org/wiki/Partial_differential_equation][1]

The Eclipse Plug-in Development Environment (PDE) provides tools to create, develop, test, debug, build and deploy Eclipse plug-ins, fragments, features, update sites and RCP products. PDE also provides comprehensive OSGi tooling. See [http://www.eclipse.org/pde/][2]

Questions about the Eclipse Plug-in Development Environment are better tagged as 'eclipse-pde'.

See

Partial_differential_equation

Eclipse Plug-in Development Environment

477 questions
1
vote
2 answers

Disabling all warnings during a Headless PDE build

How do you disable all compiler warnings from headless PDE builds of Eclipse plugins? I know I can do something like this in the build.properties: javacWarnings..=-deadCode To disable specific warnings by ID, but the documentation is not very…
Andrew Eisenberg
  • 28,387
  • 9
  • 92
  • 148
1
vote
1 answer

Matlab---can pdepe solve 1st order pde set like this?

Equation: variable: z, t want: S = S(z,t), A = A(z,t) parameter: a,b,c i is sqrt(-1) d is the partial derivative operator dS/dt = -i*a*z*S - i*b*A (d/dz +c*d/dt)A = -i*S Boundary condition: sigma is the pulse width tm is center of the pulse at z =…
user1019155
  • 41
  • 1
  • 4
1
vote
1 answer

pluginPath and dependencies from remote p2 repositories

In my pde build I'm using pluginPath property to resolve dependencies from local p2 repositories for example: DpluginPath=${basedir}/../../../plugins:/cache/3pp/site/mockito/1.8.2:/cache/3pp/site/spring/3.0.1 I'm trying to find how to effectively…
kodstark
  • 463
  • 4
  • 11
1
vote
1 answer

Popup window blocks test in Eclipse

I'm running the pde test in ant build with parameter: -application org.eclipse.pde.junit.runtime.uitestapplication. When the eclipse instance is started while running the test, it pops up a dialog window (named "Usage Data Upload") which blocks the…
1
vote
1 answer

How to extract chunks of a 2D numpy array that has been flattened

I would like to know the best way of extacting chunks of elements from a 2D numpy array that has been flattened. See example python code below which hopefully explains what I want to do a little better. import numpy as np nx = 5 nz = 7 numGPs =…
n1ck94
  • 41
  • 5
1
vote
1 answer

Computing Triple Summation in MATLAB

I have a general solution to my heat equation as: I have tried implementing this in MATLAB but I get inconsistent results. Do you think the issue is about my code or just the triple summation does not yield realistic outputs. Here's my code: %…
Orkiel
  • 31
  • 2
1
vote
0 answers

Applying Neumann BC on 2D Diffusion Equation on Python using Finite-Difference Method

Given a diffusion equation: $$\frac{\partial S}{\partial t} = c \Big(\frac{\partial^2 S}{\partial x^2} + \frac{\partial^2 S}{\partial y^2} \Big)$$ with homogeneous Neumann Boundary Condition $$\frac{\partial S}{\partial \nu} = 0,$$ where $\nu$ is an…
1
vote
0 answers

Error solving 2D Poisson equation in Julia

I want to solve a 2D Poisson equation, so im trying to run a Physics-Informed Neural Network in Julia using the NeuralPDE.jl package, this is the code (I got it here): using NeuralPDE, Flux, ModelingToolkit, GalacticOptim, Optim,…
1
vote
1 answer

PDE system with variables of different dimensions - Porous electrode theory with FiPy

I'm trying to solve a system of four PDEs describing steady-state charge conservation in a porous electrode. The equations are ∇ ⋅1 + ∇ ⋅ 2 = 0, 1 = − ∇1, 2 = − ∇2, ∇ ⋅ 1 = rxn, or alternatively ∇ ⋅ 2 = -rxn. I want to use FiPy to solve these…
jso
  • 23
  • 5
1
vote
1 answer

Installation py-pde issues

I am trying to install the python package py-pde. My current python version is 3.9. I pip install using the command 'pip install py-pde' on the terminal. However, when I try to install it on my IDE - PyCharm - I get this error: Collecting py-pde …
1
vote
0 answers

What do rows 3 and 4 of the pdetool MATLAB matrix e represent?

I'm trying to figure out what rows 3 and 4 of the e matrix in the MATLAB pdetool represent. According to the documentation: e(3,k) is the parameter value at the first point of edge k. The parameter value is related to the arc length along the…
hakim
  • 139
  • 15
1
vote
0 answers

Generate a graph for the diffusion equation

I have a code that represents the diffusion equation (Concentration as a function of time and space): ∂²C/∂x² - ∂C/∂t= 0 I discretized to the following form: C[n+1,j] = C[n,j] + (dt/dx²)(C[n,j+1] - 2(C[n,j]) + C[n,j-1]) I am trying to generate the…
1
vote
1 answer

Code that describes the diffusion equation

I have some code that describes the diffusion equation, but it gives me the following error: IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices The code that I have for the…
1
vote
0 answers

How to fix "TypeError: loop of ufunc does not support argument 0 of type Mul which has no callable tanh method"?

I am trying to get the nullclines of Morris-Lecar model using the equation and solve commands from sympy module, but it tells me "loop of ufunc does not support argument 0 of type Mul which has no callable tanh method" how can I solve this and draw…
1
vote
1 answer

No Method Matching Neural PDE error in julia

I am trying to run the code that solves physics informed partial differential equation particularly poison equation on JULIA. The code shows this, 'no method matching' error whenever, I try to run it. Please help me resolve it. using NeuralPDE,…