CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

how to declare pointscalarfield

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 31, 2009, 05:50
Default how to declare pointscalarfield
  #1
New Member
 
mihamina keisha
Join Date: May 2009
Location: india
Posts: 19
Rep Power: 8
keishawillstone is on a distinguished road
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.
keishawillstone is offline   Reply With Quote

Old   August 31, 2009, 05:55
Default
  #2
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 14
l_r_mcglashan will become famous soon enough
Have you tried google? This first hit I get with 'pointScalarField' seems to be what you're looking for.
__________________
Laurence R. McGlashan :: Website
l_r_mcglashan is offline   Reply With Quote

Old   August 31, 2009, 10:43
Default
  #3
New Member
 
mihamina keisha
Join Date: May 2009
Location: india
Posts: 19
Rep Power: 8
keishawillstone is on a distinguished road
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
keishawillstone is offline   Reply With Quote

Old   August 31, 2009, 10:51
Default
  #4
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 14
l_r_mcglashan will become famous soon enough
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
l_r_mcglashan is offline   Reply With Quote

Old   September 1, 2009, 10:08
Default
  #5
New Member
 
andrianah scott
Join Date: Aug 2009
Posts: 8
Rep Power: 8
adrianahscott is on a distinguished road
Hey,
Thank you so much!
I've tried it and it works well,nice of you!
Best Regards
adrianahscott is offline   Reply With Quote

Old   September 1, 2009, 10:15
Default
  #6
New Member
 
mihamina keisha
Join Date: May 2009
Location: india
Posts: 19
Rep Power: 8
keishawillstone is on a distinguished road
Thank you so much Lauren,it works well!
I have your e-mail,I'll keep you aware
keishawillstone is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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 12:38
Is private data of fvMatrix declare public on purpose jaswi OpenFOAM 0 July 2, 2009 13:03
transforming a function defined on mesh().points() into a pointScalarField virginie_e OpenFOAM Running, Solving & CFD 4 March 31, 2009 10:30
How to declare a symmetric tensor or calculate Huke formula haibinli OpenFOAM Running, Solving & CFD 0 July 28, 2006 10:24
DEFINE_ON_DEMAND UDF: How to declare A[ND_ND], etc jx FLUENT 1 November 6, 2003 18:23


All times are GMT -4. The time now is 06:55.