Skip to main content

Questions tagged [boundary-conditions]

Filter by
Sorted by
Tagged with
0 votes
0 answers
144 views

In one of my tasks, it is necessary to set a boundary condition in the form of an oblique derivative for the two-dimensional Laplace equation. Do you know how this can be done in Wolfram Mathematics? ...
Michael Schadt's user avatar
10 votes
3 answers
462 views

V 14.3 can not solve this IVP(Initial value problem) first order ode from textbook ...
Nasser's user avatar
  • 156k
1 vote
0 answers
81 views

It is known that the solution of the Laplace equation with exclusively Neumann boundary conditions is ambiguous. Wolfram Mathematica warns about this by submitting messages like this one: No ...
Igor Kotelnikov's user avatar
1 vote
3 answers
450 views

I'm new to Mathematica, and I'd like to find the Green function of the 1D Helmholtz Equation $$ \frac{d^2}{dx^2}u + k^2u=\delta(x-x_0)$$ on the whole x axis. I know that there are a few possible ...
JBach's user avatar
  • 111
3 votes
0 answers
64 views

I'm solving a coupled system of differential equations for neutron star matter using ParametricNDSolveValue. I encountered two issues: Boundary Condition ...
Ground Control's user avatar
6 votes
0 answers
159 views

I would like to be able to apply a pressure load to the surface of a thin membrane for FEM, and wish to make sure that the pressure always acts in the direction of the normal vector of the surface of ...
Dunlop's user avatar
  • 4,677
2 votes
0 answers
76 views

I want to try pdetoode for solving a heat equation with Neumman bc without using NeumannValue. I modified this code: ...
Migalobe's user avatar
  • 245
-1 votes
1 answer
139 views

I want to continue the plot but I don't know how to do it? ...
Felipe Dura's user avatar
2 votes
2 answers
258 views

I am working with the control equations of a Sadowsky ribbon, where the basic equations eqs and boundary conditions bc0 and <...
Mikoto's user avatar
  • 366
1 vote
1 answer
163 views

Good morning to all! I am trying to solve the two body problem for the Sun-Earth system. I make use of the Lagrangian Method and NDSolve; code is shown below: ...
Coti's user avatar
  • 65
1 vote
0 answers
118 views

This is a representative volume element problem on a unit square. I would like to apply the following linear constraint on a boundary: $u(x,1)=u(x,0)+0.3$ How can do this? There seems to be no way. ...
Rainer Glüge's user avatar
2 votes
0 answers
121 views

First, I'd like to apologize for any mistakes as this is my first time asking this question. I have a set of PDEs, and I am unable to solve them using NDSolve in ...
deekshith's user avatar
0 votes
2 answers
210 views

I have the following Mathematica code, which solves the second-order differential equation: ...
codebpr's user avatar
  • 3,028
3 votes
2 answers
274 views

I am trying to reproduce the Figure 2 from this paper. The code that I am using to solve the differential equation is given below: ...
codebpr's user avatar
  • 3,028
1 vote
1 answer
115 views

I'm trying to solve symbolically these two ODEs: $$ \begin{array}{ll} \eta_1 \frac{1}{r} \frac{\mathrm{d}}{\mathrm{d} r}\left(r \frac{\mathrm{d} u_1}{\mathrm{d} r}\right) = P_1, & r \in[0, \alpha]...
ValientProcess's user avatar
5 votes
2 answers
356 views

I want to use NDSolve on the simple equation $$ q'' == g(q,h) $$ for some function $g$ on the domain $ \Omega=[-1,1]$ with periodic boundary conditions $$ q(-1)=q(1) \text{ and } q'(-1) = q'(1)$$ ...
ullices's user avatar
  • 83
1 vote
0 answers
133 views

A follow up from the previous question References: similar question, paper Constants My domain is $\Omega$ = Rectangle[ {xmin, ymin} , {xmax,ymax}] xmax >> ymax, xmin << ymin Assume all ...
neesh's user avatar
  • 33
1 vote
2 answers
143 views

Trying to solve for the temperature around an axisymmetric thin disk. Edges of the domain are DirichletConditions which work fine, but the solver can't find the <...
icebox207's user avatar
  • 365
1 vote
1 answer
121 views

I'm trying to solve Poisson's equation for the temperature difference ($\Delta T$) between two layers with known conduction between them. The layers have conductive elements spaced in a hexagonal ...
icebox207's user avatar
  • 365
3 votes
1 answer
130 views

I am currently working on solving a DAE system in Mathematica, which includes an integral constraint and a moving boundary. I have attempted to use ParametricNDSolve, but it doesn't seem to work for ...
Mikoto's user avatar
  • 366
3 votes
3 answers
285 views

I'm trying to solve the Laplace equation for two spheres of radius rs raised to a potential of 1 a distance l away from each ...
qu1yen's user avatar
  • 33
1 vote
0 answers
123 views

Version: Mathematica 12 I want to numerically solve the 2d diffusion equation $\partial_t u(x,y,t) = D\Big( \partial_x^2 u(x,y,t)+ \partial_y^2 u(x,y,t) \Big)$ over some region with specific boundary ...
maxxam's user avatar
  • 111
2 votes
1 answer
120 views

I am attempting to follow the method outlined in this paper on page 5, where the first step requires solving a 2 point boundary value problem. I have tried using the Shooting Method, but to no avail. ...
hehehaha's user avatar
  • 663
0 votes
1 answer
157 views

I have this code I want to check for a numerical solution. I get the same shape. The function $y$ is an invertible in time so I plot $y[x]$ and $p[t]$. The $p$ function should decrease but it isn't ...
Felipe Dura's user avatar
1 vote
2 answers
167 views

I want to use this code for the backward Numerical solution but patently not well defined? ...
Felipe Dura's user avatar
0 votes
2 answers
165 views

Hi everyone could anyone have look why this code is not running? ...
Felipe Dura's user avatar
2 votes
1 answer
232 views

I am trying to solve the following set of equations in the interval $0<t<1$ and $0<y<1$ $\partial_t a(y,t) + \partial_y[ a(y,t) u(y,t)]=0,$ $\partial_y[ a(y,t) \: (m+ 3 \frac{\partial_y u(...
questionerno8's user avatar
4 votes
1 answer
144 views

I have the following coupled ordinary differential equations (drift-diffusion with a loss term) that I am having trouble with solving. One of the boundary condition I supply is being ignored. When I ...
BeauGeste's user avatar
  • 2,907
2 votes
1 answer
188 views

I have used mathematica to find a set of dynamical equations with boundary conditions. I wonder if it's possible to solve these equations with DSolve. Could anyone help me with this? Here are my sets ...
questionerno8's user avatar
2 votes
1 answer
212 views

I am trying to solve the coupled PDEs for functions u, v and w. The main problem I am facing is that I am unable to understand how to input boundary condition of this type in NDSolve: D[u[x, y], y] + ...
neesh's user avatar
  • 33
2 votes
1 answer
261 views

I can't get to work this code to solve a nonlinear second order boundary value problem. ...
complex's user avatar
  • 343
1 vote
1 answer
202 views

I am modeling mass transport phenomena involving convection and diffusion within a two-dimensional box. The box has a height ranging from 0 to h along the y-axis and is divided into two domains along ...
LUIS MORALES's user avatar
1 vote
0 answers
103 views

I have a 4 pdes for 4 variables: v, v2, ua, and p. I would like to specify that v==v2 on the left and right boundaries at all times. Here are the equations: I discretise the system using PDEtoODE. ...
Ariana Fenris's user avatar
2 votes
0 answers
152 views

I am trying to learn how to use NDSolveValue with various boundary conditions. After going through several examples here, I thought I'd try it on what I thought ...
BeauGeste's user avatar
  • 2,907
2 votes
1 answer
139 views

I am trying to solve the PDEs which contains Integro-differential and complex values. For example, the following PDE can be easily solved. ...
sixpenny's user avatar
  • 149
1 vote
1 answer
140 views

The short version is that I am trying to solve a relatively simple system of coupled first order ODEs with NDSolve in Mathematica 12.1.1.0 on Windows. This system ...
Alexander Erlich's user avatar
0 votes
0 answers
81 views

I am trying to solve a system of coupled PDEs. However, I have issues assigning initial and boundary values to the unknown field. I have checked and initial values satisfy the boundary conditions, and ...
questionerno8's user avatar
1 vote
1 answer
147 views

I am trying to model a EM wave propagation through a region of free space. However, Mathematica tells that there are insufficient initial conditions, even though I specify all values at ...
Dr__Soul's user avatar
3 votes
1 answer
124 views

While trying to solve ...
S. Euler's user avatar
  • 399
3 votes
2 answers
104 views

I am using RSolve to solve for a function defined recursively, with two boundary conditions: First boundary condition describes the relationship between $f(1)$ and $f(0)$ Second boundary condition ...
Kuantew's user avatar
  • 131
2 votes
1 answer
257 views

I have a problem of finding the shape of a current. please see the details here NDSolve does not accept the boundary condition I wrote a code but it gives the "ndnum" error. I tested the ...
AWer's user avatar
  • 35
0 votes
0 answers
107 views

I am new at Mathematica and trying to solve a nonlinear PDE with the help of NDSolve. H, the height of the current is a function of x and t. Based on the context I know the current has a parabolic ...
AWer's user avatar
  • 35
3 votes
1 answer
141 views

My Mathematica skills aren't the best but this solution isn't making sense considering the boundary value I am supplying. The leftmost boundary condition, i.e. at $x=0$, $c[t,x]$ should be $1$ for $t\...
Kendall's user avatar
  • 403
2 votes
0 answers
209 views

I am attempting to determine eigenfrequencies and the corresponding electric field distribution in a rectangular cavity resonator with perfectly conducting walls. In the simplest case of a rectangular ...
Ian's user avatar
  • 41
2 votes
1 answer
124 views

How can I use the variable i of a "do" loop inside a boundary condition in NDSolveValue, and plot the solution for ...
Marcos 's user avatar
1 vote
2 answers
103 views

I am not able to obtain any plot with the following code. ...
Trueee's user avatar
  • 41
0 votes
1 answer
121 views

I have the following PDE that I am able to solve using DirichletCondition with NDSolve as the following: ...
user79317's user avatar
  • 125

1
2 3 4 5
8