CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

creating an internal field?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By maybee

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 17, 2014, 17:10
Default creating an internal field?
  #1
Senior Member
 
Join Date: Jan 2012
Posts: 166
Rep Power: 14
maybee is on a distinguished road
hi,

as far as I have read here

http://www.cfd-online.com/Forums/ope...daryfield.html

a geometricField consists of an internal and a boundary field where values are stored in the center of each cell (internal field) and at the surface centers of each cell (boundary field).

My question is now can I create a field that only consists of the internal field or do I always have to create a full geometricField and access the internal field with e.g.

Code:
volscalarField MyField(...);
MyField.internalField() = ... ;
?

Reason I am asking this is, that I have to create many fields that only need/should have values in the center of each cell representive for the cell. Therefore I thought it would be unpractical to load them with a boundary field that won t be used.

greetings
maybee
lumpor likes this.
maybee is offline   Reply With Quote

Old   February 4, 2021, 09:50
Default
  #2
Member
 
Fabian Friberg
Join Date: Dec 2020
Posts: 31
Rep Power: 5
lumpor is on a distinguished road
Hi did you find an answer?
lumpor is offline   Reply With Quote

Old   February 4, 2021, 18:15
Default
  #3
Senior Member
 
Join Date: Jan 2012
Posts: 166
Rep Power: 14
maybee is on a distinguished road
Hi,



actually i can t remember if i found an answer to the question.


Best Regards
maybee is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Coupling two unequal dimension meshes. RaghavendraRohith OpenFOAM Programming & Development 7 June 14, 2014 12:40
Create an internal face aylalisa OpenFOAM Pre-Processing 1 June 19, 2013 13:02
Display internal field together with boundaries in paraFoam gunnar OpenFOAM Post-Processing 0 June 10, 2009 06:39
Internal field manipulation on run-time Martin123 OpenFOAM Running, Solving & CFD 2 June 3, 2009 19:11
Creating far field musman ANSYS Meshing & Geometry 1 May 14, 2009 15:29


All times are GMT -4. The time now is 22:31.