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: pablodecastillo
Forum: OpenFOAM November 3, 2011, 13:28
Replies: 6
Views: 1,703
Posted By pablodecastillo
the second loop to find the cell is not working;...

the second loop to find the cell is not working; i mean it is not giving the correct label

label celdabuscada = -99999;
scalar pto_X = -10000.0;

forAll(mesh.boundary()[patchK], faceI)
{
if...
Forum: OpenFOAM November 3, 2011, 12:38
Replies: 6
Views: 1,703
Posted By pablodecastillo
thank you, but still i can not get the label for...

thank you, but still i can not get the label for the value, any idea?

Pablo
Forum: OpenFOAM November 3, 2011, 11:25
Replies: 6
Views: 1,703
Posted By pablodecastillo
So it would be; label whatever = findMax...;...

So it would be;

label whatever = findMax...;

reduce(whatever, maxOp<label>());

I am using gMax, so get the max value, but now how can i get what label is the max value (and working in...
Forum: OpenFOAM November 3, 2011, 10:47
Replies: 6
Views: 1,703
Posted By pablodecastillo
findMax not working in parallel with scalarField

hello,

I found that findMax not working in parallel with scalarField.

I want to find the min coordinate_X for my pacht and at the same time with coordinate_Z <= 0.

Any idea?

Thanks
Showing results 1 to 4 of 4

 
Forum Jump

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