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: Hisham
Forum: OpenFOAM Programming & Development October 25, 2011, 08:54
Replies: 5
Views: 3,976
Posted By Hisham
Hi For some strange reason, that has to do...

Hi

For some strange reason, that has to do with values of another boundaryField at the same patch, it was not behaving as expected.

Now, it is working fine as expected with the mentioned code....
Forum: OpenFOAM Programming & Development October 25, 2011, 08:07
Replies: 5
Views: 3,976
Posted By Hisham
for forAll(...

for

forAll( alpha1.boundaryField()[myWaterWaves.patchID], facej)
{
alpha1.boundaryField()[myWaterWaves.patchID][facej]=(1.);
}


Info << "Boundary =" << ...
Forum: OpenFOAM Programming & Development October 25, 2011, 06:50
Replies: 5
Views: 3,976
Posted By Hisham
Hi Kathrin, Thanks a lot! It has...

Hi Kathrin,

Thanks a lot!

It has compiled without the (.operator). However, it does not behave as I've expected (the value is not applied at the BC). The "==" compiles as well (which is the...
Forum: OpenFOAM Programming & Development October 24, 2011, 13:59
Replies: 5
Views: 3,976
Posted By Hisham
Setting boundaryField for a volScalarField

Dear Foamers,

I try to set the value for a volScalarField like this:


forAll( alpha1.boundaryField()[myWaterWaves.patchID], facei)
{
...
Showing results 1 to 4 of 4

 
Forum Jump

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