Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

problem with solving two coupled equations

Please login with a confirmed email address before reporting spam

I have to solve two coupled pde equations depends mutually. I have given these equations as follows

1)
∂T/∂t+∇∙(-c*∇T)=∅1(T)*∂u/∂t ;
where c =constant, and 1 initial condition (T at (t=0)=308K) and then 4 boundary conditions and BCs are
(at r=0, ∂T/∂r=0 or insulated; at r=r_outer, c*∂T/∂r=-h_out*(308-T);
at z=0,c*∂T/∂z=-h_(out*) (308-T); at z=L,c*∂T/∂z=-h_out*(308-T); )
Which is given by the following steps “add physics>> mathematics >> classical PDEs>> heat equation”
given the coefficients and source term according to the requirements.


2)
∂u/∂t=k_so*exp(E/(R*T))*(f(T)-u)
with initial condition (∂u/∂t)at t=0 = 0.0001 which is given by the steps “ mathematics>> pde interfaces >> general form pde (g)” and given the coefficients and source term according to the requirements


But error is showing that

failed to evaluate variable.
- Variable: comp1.u
- Geometry: 1
- Domain: 1
Failed to evaluate expression.
- Expression: d(d((-(comp1.Tt-comp1.S*comp1.delt_H*pd(comp1.u,t))*test(comp1.T)-0.2812*comp1.Tr*test(comp1.Tr)-0.2812*comp1.Tz*test(comp1.Tz))*(dvol),{test@0}),co
What should I do? Anyone please help….

1 Reply Last Post 2014年11月6日 GMT-5 11:06

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2014年11月6日 GMT-5 11:06
hello sir i have same problem
i desgined comsol model to solve these two coupled partial equation,but not getting correct results

du1/dx=-1.148*u1-4.462*u1*u2-3.8*10^-12*u1^2-1.9*10^-22*u1^3-6.83*10^-22*u2*u1^2-2.36*10^-22*u1*u2^2.........(1)

du2/dx=-1.148*u2+50*u1*u2-4.93*10^-12*u2^2-3.41*10^-23*u2^3-2.44*10^-23*u2*u1^2-11.17*10^-23*u1*u2^2........(2)

initial conditions

u1(0)=1,u2(0)=.01
i simulated the model as
1D>mathematics>pde inteface>general form pde>dependent variable=2>preset studies>stationary>finish
then put both equation and boundary condition,please tell me process is correct or not,if any other method tell me

thank you
hello sir i have same problem i desgined comsol model to solve these two coupled partial equation,but not getting correct results du1/dx=-1.148*u1-4.462*u1*u2-3.8*10^-12*u1^2-1.9*10^-22*u1^3-6.83*10^-22*u2*u1^2-2.36*10^-22*u1*u2^2.........(1) du2/dx=-1.148*u2+50*u1*u2-4.93*10^-12*u2^2-3.41*10^-23*u2^3-2.44*10^-23*u2*u1^2-11.17*10^-23*u1*u2^2........(2) initial conditions u1(0)=1,u2(0)=.01 i simulated the model as 1D>mathematics>pde inteface>general form pde>dependent variable=2>preset studies>stationary>finish then put both equation and boundary condition,please tell me process is correct or not,if any other method tell me thank you

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.