|March 1, 2012, 13:08||
analytic solution 2D only diffusion
Join Date: Dec 2010
Posts: 12Rep Power: 8
hi every one,
I have 2D diffusion equation.
Are there any analitic solution for bidimensional diffusion equation?
The initial intial conditon has not to be puntual
thanks a lot
|March 2, 2012, 22:09||
Join Date: Mar 2009
Blog Entries: 6Rep Power: 10
You can cook up many examples by separation of variables. Here is one in the unit square (0,1) x (0,1)
u_t = u_xx + u_yy
function ue = exact_solution(t) global X Y ue = exp(-2*4*pi^2*t) * sin(2*pi*X) .* sin(2*pi*Y) ... + exp(-2*16*pi^2*t) * sin(4*pi*X) .* sin(4*pi*Y);
|March 3, 2012, 08:40||
Join Date: Oct 2011
Posts: 40Rep Power: 7
If you have the possibility to add source terms to you discretized equations, then you can generate infinite exact solutions.
You choose an arbitrary solution that you inject into the PDE, then you add the extra terms to balance the equations into you solver. Choose analytic functions infinitely differentiable and which derivatives do not vanish (to maintain all terms in the truncation error) like trigo functions. Then put Dirichlet conditions from the exact solution and you'll be able to test your code (except the BC of course)
Tou can look for the Method of Manufactured Solutions for more details.
Good luck !
|Thread||Thread Starter||Forum||Replies||Last Post|
|grid dependancy||gueynard a.||Main CFD Forum||19||June 27, 2014 21:22|
|Neumann Boundary Condition for Poisson Equation solution in Polar Coordinates||prapanj||Main CFD Forum||2||July 30, 2011 19:07|
|Steady solution from Transient simulations||wawa||FLUENT||2||November 9, 2010 18:44|
|Analytical Solution of 1D Convection Diffusion Eq.||Suman Kumar||Main CFD Forum||7||July 15, 2003 14:05|
|Wall functions||Abhijit Tilak||Main CFD Forum||6||February 5, 1999 02:16|