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: dkxls
Forum: OpenFOAM May 2, 2014, 06:07
Replies: 21
Views: 32,479
Posted By dkxls
It is quite useful to learn how "tmp" works when...

It is quite useful to learn how "tmp" works when your get to the "advanced" programming in OpenFOAM. See here:
http://openfoamwiki.net/index.php/OpenFOAM_guide/tmp...
Forum: OpenFOAM April 30, 2014, 05:52
Replies: 21
Views: 32,479
Posted By dkxls
This brings me back to my first questions: ...

This brings me back to my first questions:


Look up the return type of nu() and you will have the solution to your problem. Random testing will just waist your time here. My guess is that it is a...
Forum: OpenFOAM April 29, 2014, 14:25
Replies: 21
Views: 32,479
Posted By dkxls
That looks wrong! Where is that code...

That looks wrong!

Where is that code anyways? In a solver or a library?

Maybe you try to switch back to my initial example with the reference to the internal field and remove the nu(). Does...
Forum: OpenFOAM April 29, 2014, 14:20
Replies: 21
Views: 32,479
Posted By dkxls
No it doesn't make sense. f1 may be a field,...

No it doesn't make sense.
f1 may be a field, but you can very well assign 'double' values to a cell. In fact when you do

f1Cells[cellI] = 3.141592;
you assign a 'double' to the cell.

Well,...
Forum: OpenFOAM April 29, 2014, 13:44
Replies: 21
Views: 32,479
Posted By dkxls
Apparently, nu() is not a field. :D I haven't...

Apparently, nu() is not a field. :D I haven't checked the source code and I usually don't deal with the incompressible code anyways. ;)

No idea, what goes wrong in your code. Are you sure the...
Forum: OpenFOAM April 29, 2014, 13:14
Replies: 21
Views: 32,479
Posted By dkxls
You are dividing by nu(). What is nu()? Is it a...

You are dividing by nu(). What is nu()? Is it a field? If so, then you need to access also for nu() the cell values.

In general it's a good idea to get a reference to the internal/boundary fields...
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT -4. The time now is 16:45.