Scalar and tensor error message

General discussions about how to formulate a script for FlexPDE.

Scalar and tensor error message

Postby jehadyam on Tue Jun 16, 2015 6:21 am

I am trying to model the energy equation in the hydrogen storage inside metal hydride
I have the energy equation of the form
V is vector in R only
I wrote it this way
Tempg : (epss*rohg*cpg+(1-epss)*rohs*cps)*dt(Tempg)+grad(rohg*cpg*V*Tempg)=div(ke*grad(Tempg))+m*(DeltH-Tempg*(cpg-cps))
I get error message on this term +grad(rohg*cpg*V*Tempg) of the LHS
"The Add Operation is undefined for the pair (Tensor, Scalar)"

Any help!
Posts: 3
Joined: Thu Jan 31, 2013 11:27 am

Return to FlexPDE Discussion

Who is online

Users browsing this forum: No registered users and 6 guests