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: Hisham
Forum: OpenFOAM Programming & Development February 12, 2013, 07:46
Replies: 10
Views: 2,793
Posted By Hisham
Hello First you do: ...

Hello

First you do:

forAll(variable.boundaryField(), patchi)
{
variable.boundaryField()[patchi] == variable.boundaryField()[patchi].patchInternalField();
}
Forum: OpenFOAM Programming & Development December 5, 2011, 05:46
Replies: 10
Views: 2,793
Posted By Hisham
I found out what the problem was: The values...

I found out what the problem was:

The values of the volScalarField at patches needed to be updated to be equal to the values of cells with faces at patch. I tried that and it gave same results as...
Forum: OpenFOAM Programming & Development December 5, 2011, 05:11
Replies: 10
Views: 2,793
Posted By Hisham
To summarize: When I do a laplacian of a...

To summarize:

When I do a laplacian of a volVectorField multiplied by a constant scalar it runs OK and values are logical

But when I replace the constant scalar with a constant volScalarField...
Forum: OpenFOAM Programming & Development December 2, 2011, 09:57
Replies: 10
Views: 2,793
Posted By Hisham
I tried to compare two equations one with a...

I tried to compare two equations one with a scalar and another with a volScalarField for comparisons and they yield different results for the same numerical input ... Results for the scalar are the...
Forum: OpenFOAM Programming & Development December 1, 2011, 12:22
Replies: 10
Views: 2,793
Posted By Hisham
Error with laplacian of two volScalarFields

Dear Foamers,

I have this equation:

const volScalarField TwoMuPlusLambda = 2 * solidShearMod + solidLambdaMod;

//solve
fvVectorMatrix gEqn
(
fvm::d2dt2(solidRho, initial_D)
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT -4. The time now is 14:33.