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: r2d2
Forum: OpenFOAM Running, Solving & CFD September 12, 2005, 07:48
Replies: 11
Views: 2,396
Posted By r2d2
Hi again, I´m back with my lit

Hi again, I´m back with my little problems.
Having done what I was taught to do above, and the things work fine with no source term I would like now to add some source for each field and then to...
Forum: OpenFOAM Running, Solving & CFD July 27, 2005, 08:52
Replies: 11
Views: 2,396
Posted By r2d2
OK, thanks. I did the followin

OK, thanks. I did the following:

ptrList<volscalarfield> fields(10);
for (int i =0; i<10; i++)
{
word fieldName = "field_" + Foam::name(i);
Info<< "Reading field " <<...
Forum: OpenFOAM Running, Solving & CFD July 26, 2005, 11:17
Replies: 11
Views: 2,396
Posted By r2d2
Thanks for the message, Henry.

Thanks for the message, Henry.
I thought of something like this in CreateFields.H.

const int nVarmax = 10;
for (int i =0; i<nVarmax; i++)
{

word fieldName =...
Forum: OpenFOAM Running, Solving & CFD July 26, 2005, 10:32
Replies: 11
Views: 2,396
Posted By r2d2
Hi, How can I create an arra

Hi,
How can I create an array of volScalFields in one CreatFields.H, say of oodles? Say field[i], i = 0,10...Is there an example somewhere?
Cheers,
Radu
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 01:34.