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 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: ywang
Forum: OpenFOAM August 30, 2011, 03:39
Replies: 8
Views: 4,428
Posted By ywang
Hi, everyone. As I want to calculate the...

Hi, everyone. As I want to calculate the gradient at the cells close to the boundaries. I checked the code in the gaussGrad.C:

const unallocLabelList& owner = mesh.owner();
const...
Forum: OpenFOAM August 19, 2011, 14:30
Replies: 8
Views: 4,428
Posted By ywang
It's ok. I noticed it. Thanks very much :) .

It's ok. I noticed it. Thanks very much :) .
Forum: OpenFOAM August 19, 2011, 14:27
Replies: 8
Views: 4,428
Posted By ywang
Wink Yes, I have read the code of gaussGrad and found...

Yes, I have read the code of gaussGrad and found there was the very thing I wanted. Thanks.
Forum: OpenFOAM August 18, 2011, 16:50
Replies: 8
Views: 4,428
Posted By ywang
Thanks. wallGradU is using ...

Thanks.

wallGradU is using
wallGradU.boundaryField()[patchi] =-U.boundaryField()[patchi].snGrad();.

Based on the Programmers Guide, snGrad still calculate all cells in the computational...
Forum: OpenFOAM August 15, 2011, 17:04
Replies: 8
Views: 4,428
Posted By ywang
How to calculate the gradient in the boundary cells

Hi, everyone.

I want to calculate the gradients of a volScalarField parameter F in the boundary cells. Now, I am using fvc::grad(F,gradF) to calculate the gradients in all cells, and then look up...
Showing results 1 to 5 of 5

 
Forum Jump

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