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 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: kupiainen
Forum: OpenFOAM September 16, 2005, 05:24
Replies: 3
Views: 8,624
Posted By kupiainen
Hi, I wish to compute the abs

Hi,
I wish to compute the absolute value of a volVectorField gp componentwise. I have tried to loop over all cells:
forAll(centres, celli)
{
if ( gp[celli].x() < 0.0 )
...
Showing results 1 to 1 of 1

 
Forum Jump

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