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

"Master-file" for global definitions?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2012, 12:27
Default "Master-file" for global definitions?
  #1
Senior Member
 
Bernhard Linseisen
Join Date: May 2010
Location: Heilbronn
Posts: 183
Blog Entries: 1
Rep Power: 15
Linse is on a distinguished road
Dear all,

At the moment I am trying to implement a variable that is generally available within OpenFOAM. I have even gone as far as thinking about it being implemented as a pointer only.
Nevertheless all the ideas come back to some crucial point: Is there anything like a "master-file" that contains something like the "main()"-function commonly seen in C++?

A second thought was to orient myself at the implementation of the variable "psi", which seems to be the variable that is solved for in any of the equations. (Am I right at that point?) But again: Where is this variable defined? Then I could use the same file as some kind of blueprint for implementing my variable that would be available at least at most points of the code...

Thanks for any answers already in advance!
Bernhard
Linse is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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



All times are GMT -4. The time now is 09:50.