Skip to main content

Questions tagged [pde]

Partial differential equations (PDEs) are equations that relate the partial derivatives of a function of more than one variable. This tag is intended for questions on modeling phenomena with PDEs, solving PDEs, and other related aspects.

6 votes
0 answers
124 views

adjoint method + complementarity problems

Background. The adjoint methods give a way to evaluate the derivative of some quantity of interest $J$ depending on a field $u$ with respect to a set of parameters $p$ when $u$ and $p$ are related by ...
Daniel Shapero's user avatar
0 votes
0 answers
75 views

How to find Eigenfunctions and values for PDE (Helmholtzequation)?

Task: Given some spacial domain in 2D (e.g. a triangle), Dirichlet boundary conditions find the Eigensolutions/Eigenvectors $k$ of the Helmholtz-equation. $$ \Delta \phi(x,y)+k^2\phi(x,y)=0 $$ Problem:...
Alexander Haas's user avatar
0 votes
0 answers
92 views

Methods to Solve PDE of the Form $u_t = D u_{xx} - c(t) u_x + F(u)$

I am trying to solve the following PDE, \begin{align} \begin{split} u_t &= D u_{xx} - c(t) u_{x} + F(u) \\ u(t, 0) &= u(t, L) \\ u(0, x) &= u(T, x) \\ c(...
vlovero's user avatar
  • 163
1 vote
1 answer
124 views

Why do solutions of 1-D Advection Equation using Crank-Nicolson Scheme negative?

I'm trying to approximate the solutions of this 1-D Linear Advection Equation using Crank-Nicolson Scheme, and after some loop of repeating it in Python, the values return to negative. I didn't come ...
cell's user avatar
  • 11
0 votes
2 answers
130 views

Backward Euler Explanation for a beginner

Can someone explain Backward Euler in the context of a transient thermal problem in 2-dimensions for simplicity, lets say I have a weak form of the thermal problem , i would like to understand how to ...
AV12's user avatar
  • 1
0 votes
0 answers
56 views

traveling wave diverged in 3d using the same 1d time stepping

A dissipation free traveling wave u(x-ct) with periodic boundary conditions is properly computed in 1d regular Galerkin FEA. With the same time stepping (runga kutta, BDF etc), its 3d regular Galerkin ...
feynman's user avatar
  • 325
2 votes
0 answers
71 views

Differentiable Level Set Method for Interface Growth with Overgrowth over Inactive Regions

I'm trying to simulate an interface evolution problem using a level set method, with the key constraint that the entire simulation must be differentiable (end-to-end for later use with optimization/...
Rohan Gautam's user avatar
1 vote
1 answer
176 views

Proper boundary conditions and numerics of a traveling wave solution

To get a traveling wave solution of $u_t+cu_x=0$ on $0<x<1: u=u(x-ct)$, periodic boundary conditions are applied at $x=0$ and $x=1$ i.e., $u(0)=u(1)$, $u_x(0)=u_x(1)$. Is that sufficient to get ...
feynman's user avatar
  • 325
0 votes
0 answers
57 views

MATLAB numerically solve coupled nonlinear PDEs of laser

I try to solve two coupled nonlinear pdes, but it fails to converge. I'm new to PDEs, and have trouble to reproduce the results of the paper. The equations are in the picture below: They are all ...
Fitz's user avatar
  • 1
0 votes
0 answers
61 views

Numerical methods for non-incoming boundary condition for PDEs

I am discretizing a PDE with a non-incoming boundary condition, defined as $$ n(x)\cdot v <0 $$ I wonder is there any reference on now to numerically implement this in a simple way? The current ...
79999's user avatar
  • 101
1 vote
0 answers
52 views

Accounting for boundary conditions while using fixed-point iteration to solve a nonlinear heat equation

I'm trying to solve a nonlinear heat equation $$ \frac{\partial T}{\partial t} = f(T,z,t) $$ where $$ f(T,z,t) = \alpha(T)\frac{\partial^2 T}{\partial z^2}+\beta(T)\left(\frac{\partial T}{\partial z }\...
chinm's user avatar
  • 11
1 vote
0 answers
58 views

Centered Finite Difference Scheme for Stochastic Wave Equation

I am attempting to simulate a 2D damped wave equation with a stochastic forcing term: \begin{align} &\ddot{u}+\alpha \dot{u} + \beta u-c^2 \nabla^2 u=\dot{f},\\ &u(\mathbf{r}, 0) = \dot{u}(\...
Rishi's user avatar
  • 131
2 votes
1 answer
66 views

Numerical treatment of the drift term in Gross-Pitaevskii equation

I am numerically trying to solve the following Gross-Pitaevskii equation that describes the dynamics of an impurity coupled with a one-dimensional weakly interacting bath: \begin{align} i \frac{\...
sap7889's user avatar
  • 41
3 votes
1 answer
161 views

How to carry out Von Neumann stability analysis for a coupled system?

Background: There is already a question here: CFL criterion for a PDE Although the accepted answer makes intuitive sense, it does not seem mathematically rigorous. I realize that this original ...
MichaelW's user avatar
  • 183
0 votes
1 answer
224 views

CFL criterion for a PDE

Given the PDE $\frac{\partial}{\partial t} \frac{\partial^2 \Psi}{\partial x^2}+ \beta \frac{\partial \Psi}{\partial x} + U \frac{\partial}{\partial x} \frac{\partial^2 \Psi}{\partial x^2}=0$ with ...
MichaelW's user avatar
  • 183

15 30 50 per page
1
2 3 4 5
62