October 17, 2010, 11:07
|
|
#11
|
Member
Jovani L. Favero
Join Date: Mar 2009
Location: Rio de Janeiro, RJ, Brazil
Posts: 45
Rep Power: 18
|
Quote:
Originally Posted by mohsenkh599
Hello
I want to employ a solver for composite materials into the viscoelasticfluidFoam but while compiling there are errors which I cannot understand completely.
the set of equations and the code I have developed are attached.
the other parameters are constants.
the Best
|
Hello mohsen,
Your problem is with the term [(omega . a) - (a . omega)] in equation for "a". The return of this operation is a tensorField and not a symmTensorField. Then two options to overcome this problem:
1 - Find a manner to [(omega . a) - (a . omega)] give a symmTensor. I think this is not possible, but ...
2 - Work with tensorField type. Then, "a" need to be declared as tensor field, the fvMatriz for "a" equation and all the operations that use "a" also need be of tensorField type. See also that omega=skew(L) in OF.
Best regards,
Jovani
|
|
|