CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: romant
Forum: OpenFOAM Programming & Development September 5, 2011, 07:47
Replies: 8
Views: 2,774
Posted By romant
you are missing the underline at all the other...

you are missing the underline at all the other parts in the code, either you write the variable with underline or without underline, but don't mix it
Forum: OpenFOAM Programming & Development September 5, 2011, 07:15
Replies: 8
Views: 2,774
Posted By romant
underlines like "_" are usually appended to a...

underlines like "_" are usually appended to a variable in order to show that we speak about a private variable in a class

the ">>" gives the stream into a variable. It is part of the standard IO...
Forum: OpenFOAM Programming & Development September 5, 2011, 06:53
Replies: 8
Views: 2,774
Posted By romant
hej, if you dfine your scalar before as for...

hej,

if you dfine your scalar before as for example


scalar mIt_; // in the header
// and then use just
mIt_(outerLoop.lookup("mIt")) ; // in the C file
Forum: OpenFOAM Programming & Development September 2, 2011, 10:00
Replies: 8
Views: 2,774
Posted By romant
what does not work? do you get an error upon...

what does not work? do you get an error upon compiling? do you get an error at all? does it run without complaining and just not read the value?
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 08:35.