|March 11, 2015, 13:31||
how to print a vector in openfoam terminal????
Join Date: Feb 2014
Posts: 67Rep Power: 3
Hye i want to print a vector in openfoam which is
vector CoM = sum(mesh.V()*(alpha1*rho1 + (1-alpha1)*rho2)*mesh.C().dimensionedInternalField())/sum(mesh.V()*(alpha1*rho1+(1-alpha1)*rho2));
I tried Cout but it doesnt work as it only works for strings. please guide me how can i print it.
|vector openfoam com|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Map of the OpenFOAM Forum - Understanding where to post your questions!||wyldckat||OpenFOAM||4||September 21, 2015 12:01|
|Differences between CFX and OpenFOAM regarding convergence and robustness!||magjohan||OpenFOAM Running, Solving & CFD||4||February 26, 2015 11:26|
|OpenFOAM Introductory Course at Politecnico di Milano, March 3-5 2015||lucchini||OpenFOAM Announcements from Other Sources||0||January 15, 2015 12:17|
|problem running blockMesh in ubuntu terminal (openfoam)||subhsngh||OpenFOAM Running, Solving & CFD||6||June 26, 2013 08:02|
|ESI-OpenCFD Releases OpenFOAM v2.2.0||opencfd||OpenFOAM Announcements from ESI-OpenCFD||13||March 30, 2013 17:52|