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 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: Cyp
Forum: OpenFOAM November 2, 2010, 10:09
Replies: 20
Views: 10,994
Posted By Cyp
createFields.H Info<< nl << "Reading...

createFields.H

Info<< nl << "Reading thermophysicalProperties" << endl;
PtrList<volScalarField> Y(5);


Is it normal that you have Y(5) instead of Y(3) ??
Forum: OpenFOAM October 24, 2010, 14:54
Replies: 20
Views: 10,994
Posted By Cyp
did you try ptrList instead of List ?

did you try ptrList instead of List ?
Forum: OpenFOAM September 27, 2010, 09:09
Replies: 20
Views: 10,994
Posted By Cyp
hi Hrushi! I think you should defined your...

hi Hrushi!

I think you should defined your rho1,rho2,rho3 as a list of scalar : rho=(rho1,rho2,rho3)

hence, rho[0]=rho1 ; rho[1|=rho2 ;rho[2]=rho3

and you can use the following loop :

...
Showing results 1 to 3 of 3

 
Forum Jump

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