|
[Sponsors] |
August 31, 2009, 06:50 |
how to declare pointscalarfield
|
#1 |
New Member
mihamina keisha
Join Date: May 2009
Location: india
Posts: 19
Rep Power: 17 |
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. |
|
August 31, 2009, 11:43 |
|
#3 |
New Member
mihamina keisha
Join Date: May 2009
Location: india
Posts: 19
Rep Power: 17 |
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 |
|
August 31, 2009, 11:51 |
|
#4 |
Senior Member
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23 |
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.
__________________
Laurence R. McGlashan :: Website |
|
September 1, 2009, 11:08 |
|
#5 |
New Member
andrianah scott
Join Date: Aug 2009
Posts: 8
Rep Power: 17 |
Hey,
Thank you so much! I've tried it and it works well,nice of you! Best Regards |
|
September 1, 2009, 11:15 |
|
#6 |
New Member
mihamina keisha
Join Date: May 2009
Location: india
Posts: 19
Rep Power: 17 |
Thank you so much Lauren,it works well!
I have your e-mail,I'll keep you aware |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to declare a prism block in the blockMeshDict file | callega | OpenFOAM Pre-Processing | 6 | June 1, 2015 13:38 |
Is private data of fvMatrix declare public on purpose | jaswi | OpenFOAM | 0 | July 2, 2009 14:03 |
transforming a function defined on mesh().points() into a pointScalarField | virginie_e | OpenFOAM Programming & Development | 4 | March 31, 2009 11:30 |
How to declare a symmetric tensor or calculate Huke formula | haibinli | OpenFOAM Running, Solving & CFD | 0 | July 28, 2006 11:24 |
DEFINE_ON_DEMAND UDF: How to declare A[ND_ND], etc | jx | FLUENT | 1 | November 6, 2003 18:23 |