CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > COMSOL

PDE with a partial derivative calculated at a given value of an indipendent variable

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2023, 06:18
Default PDE with a partial derivative calculated at a given value of an indipendent variable
  #1
New Member
 
roberto popov
Join Date: Jul 2023
Posts: 2
Rep Power: 0
umby1976 is on a distinguished road
Hi, I am quite new in Comsol, I have just solved few problems using the model wizard so far.
I am just wondering if it is possible to solve numerically the following problem.

\frac{\partial u(x,t)}{\partial t}=\frac{\partial^2 u(x,t)}{\partial x^2}+S \left [ 1+\frac{\partial u(0,t)}{\partial x} \right ]\frac{\partial u(x,t)}{\partial x}
with
u(0,t)=1
u(\infty,t)=0
and
u(x,0) =\exp \left ( -\frac{x^{2}}{\pi } \right )-x \, \text{erf}\left ( \frac{x}{\sqrt{\pi}} \right )

Where S is a constant equal to 100. I am interested in integrating from t going from 0 to 5. As x=\infty we can simply use x=10 in this case. In particular, I do not know how to write the derivative of the dependent variable in x=0 inside the equation (it is the term in the square brackets).
Many thanks in advance.
umby1976 is offline   Reply With Quote

Reply

Tags
derivative, fem., numerical computation


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
emag beta feature: charge density charlotte CFX 4 March 22, 2011 10:14
Implementation B.C. as a second-order derivative of another variable JinBiao OpenFOAM Running, Solving & CFD 0 April 8, 2010 07:30
error in COMSOL:'ERROR:6164 Duplicate Variable' bhushas COMSOL 1 May 30, 2008 05:35
Env variable not set gruber2 OpenFOAM Installation 5 December 30, 2005 05:27
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09


All times are GMT -4. The time now is 08:24.