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: kmooney
Forum: OpenFOAM May 21, 2013, 22:10
Replies: 16
Views: 4,606
Posted By kmooney
The alpha1 field is stored on the mesh. It is...

The alpha1 field is stored on the mesh. It is one in the same as there is no alpha1 mesh, there is one domain mesh on which all of your flow fields are discretized onto. You should check out some...
Forum: OpenFOAM May 21, 2013, 21:57
Replies: 16
Views: 4,606
Posted By kmooney
I'm going to be honest and say that at this point...

I'm going to be honest and say that at this point I really don't know what you're asking.
Forum: OpenFOAM May 21, 2013, 19:15
Replies: 16
Views: 4,606
Posted By kmooney
After refinement, the alpha field would have been...

After refinement, the alpha field would have been resized and mapped from the previous mesh. It will have the same number of internalField values as there are cells in the mesh.

If you still...
Forum: OpenFOAM May 21, 2013, 19:14
Replies: 16
Views: 4,606
Posted By kmooney
After refinement, the alpha field would have been...

After refinement, the alpha field would have been resized and mapped from the previous mesh. It will have the same number of internalField values as there are cells in the mesh.

If you still...
Forum: OpenFOAM May 20, 2013, 22:50
Replies: 16
Views: 4,606
Posted By kmooney
I'm not sure if this is the exact code to make it...

I'm not sure if this is the exact code to make it happen but could could find the average cell volume exactly, no need for approximation:


scalar totalVol = gSum(mesh.cellVolumes());
scalar...
Forum: OpenFOAM May 20, 2013, 21:13
Replies: 16
Views: 4,606
Posted By kmooney
If you're running in parallel you could do...

If you're running in parallel you could do something like this:


label nCells = returnReduce(mesh.cells().size(), sumOp<label>());
Info<<" Total number of cells in mesh: "<<nCells<<endl;

...
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT -4. The time now is 03:19.