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 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: mkraposhin
Forum: OpenFOAM Programming & Development January 9, 2016, 03:29
Replies: 10
Views: 1,116
Posted By mkraposhin
Hi, Yes, initialization order makes sense. ...

Hi,

Yes, initialization order makes sense.

Sometimes, compiler watches for this - for example, if you declare dx_ and then dy_ in interfaceProperties.H, but initialize dx_ after dy_ in...
Forum: OpenFOAM Programming & Development January 8, 2016, 12:45
Replies: 10
Views: 1,116
Posted By mkraposhin
This problem can be solved easily - check that...

This problem can be solved easily - check that you are initializing alpha1_ before nuGamma_

If this works, tell me, and i will give explanation later
Forum: OpenFOAM Programming & Development January 7, 2016, 13:49
Replies: 10
Views: 1,116
Posted By mkraposhin
There is a type conflict somewhere else. My...

There is a type conflict somewhere else. My suggestion is to re-use standard OpenFOAM classes:

in .H:

class myInterfaceProperties
: public interfaceProperties


in .C:
Forum: OpenFOAM Programming & Development January 7, 2016, 13:08
Replies: 10
Views: 1,116
Posted By mkraposhin
By the way, did you renamed your...

By the way, did you renamed your twoPhaseProperties class?

It looks like a mismatch in data types naming
Forum: OpenFOAM Programming & Development January 7, 2016, 12:53
Replies: 10
Views: 1,116
Posted By mkraposhin
I think, here is the point of your problem. Your...

I think, here is the point of your problem. Your program will work in two cases:
- you will create and will use child class from interfaceProperties
- you will leave only your own version of...
Forum: OpenFOAM Programming & Development January 7, 2016, 12:21
Replies: 10
Views: 1,116
Posted By mkraposhin
Hi! Which OF version are you using? OF2.4.0...

Hi!

Which OF version are you using? OF2.4.0 or less?

Did you pointed your Make/options file to new library, like that:


EXE_INC =
-I$(LIB_SRC)/transportModels/twoPhaseMixture/lnInclude...
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT -4. The time now is 21:58.