CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   how to discretize fourth order term (https://www.cfd-online.com/Forums/openfoam-solving/91144-how-discretize-fourth-order-term.html)

ziemowitzima August 1, 2011 19:27

[solved]how to discretize fourth order term
 
Dear Foamers,
Does anyone of you know what is the best way to make 4 order term discretization:
I mean:
U(x,y)
U_xxxx + U_yyyy

Thanks
ZM

ziemowitzima August 2, 2011 18:54

so far I found such explicit solution (U == T):

volVectorField gradT=fvc::grad(T); // (T_x, T_y)
volScalarField Txxxx = gradT.component(0); // T_x
gradT = fvc::grad(Txxxx); // (T_xx, T_xy)
Txxxx = gradT.component(0); // T_xx
gradT = fvc::grad(Txxxx); // (T_xxx, T_xxy)
Txxxx = gradT.component(0); // T_xxx
gradT = fvc::grad(Txxxx); // (T_xxxx, T_xxxy)
Txxxx = gradT.component(0); // T_xxxx

Maybe someone have some better idea ?
Is it possible to descritize T_xxxx implicitly ?

-ZM

ziemowitzima August 4, 2011 13:26

seems to be solved:
http://www.cfd-online.com/Forums/ope...direction.html


All times are GMT -4. The time now is 16:05.