CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   how to declare pointscalarfield (http://www.cfd-online.com/Forums/openfoam-solving/67907-how-declare-pointscalarfield.html)

keishawillstone August 31, 2009 05:50

how to declare pointscalarfield
 
Hi guys!
I'm wondering about how to declare pointscalarfield variable.I tried like we do with volscalarfield but when I compiled it, it sent an error message.Do we have to include another header?what?
Best Regards
Thanks in advance.

l_r_mcglashan August 31, 2009 05:55

Have you tried google? This first hit I get with 'pointScalarField' seems to be what you're looking for.

keishawillstone August 31, 2009 10:43

Hey,
I've just tried google but come out with no result.
I would like to declare it in the createfield like any other variable(volscalarfield).
Can you help me,please?
Best Regards

l_r_mcglashan August 31, 2009 10:51

Try this link.

I'm guessing the problem you have is that you need to create a pointMesh object from your mesh object and pass that in the arguments of your pointScalarField.

adrianahscott September 1, 2009 10:08

Hey,
Thank you so much!
I've tried it and it works well,nice of you!
Best Regards

keishawillstone September 1, 2009 10:15

Thank you so much Lauren,it works well!
I have your e-mail,I'll keep you aware


All times are GMT -4. The time now is 00:38.