CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Members List Search Today's Posts Mark Forums Read

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: herbert
Forum: OpenFOAM Programming & Development October 26, 2010, 06:47
Replies: 22
Views: 8,404
Posted By herbert
Okay, I was just confused because of your...

Okay,

I was just confused because of your nomenclature...;)
Forum: OpenFOAM Programming & Development October 26, 2010, 05:00
Replies: 22
Views: 8,404
Posted By herbert
Please realize that you are editing the BC for p...

Please realize that you are editing the BC for p with your code

If you want to edit BC for U, you have to change it in the following way

fixedGradientFvPatchScalarField&...
Forum: OpenFOAM Programming & Development August 16, 2010, 07:47
Replies: 22
Views: 8,404
Posted By herbert
Hi Martin, you have to do a refCast....

Hi Martin,

you have to do a refCast. Example:
fixedGradientFvPatchVectorField& gradUPatch=refCast<fixedGradientFvPatchVectorField>(U.boundaryField()[patchI]);
scalarField& gradUField = ...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 06:49.