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 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: herbert
Forum: OpenFOAM Community Contributions June 14, 2010, 04:30
Replies: 10
[swak4Foam] funkySetFields
Views: 2,596
Posted By herbert
Hi Chrisi, I thought about something like...

Hi Chrisi,

I thought about something like this:
forAll(mesh.cellZones(), iZone) //loop over all cellZones
{
if (mesh.cellZones()[iZone].name() == "bla") //with bla being name of porous...
Forum: OpenFOAM Community Contributions June 11, 2010, 03:58
Replies: 10
[swak4Foam] funkySetFields
Views: 2,596
Posted By herbert
Hi Chrisi, yes indeed, you might add some...

Hi Chrisi,

yes indeed, you might add some code at
//if this is a porous zoneMy code actually goes through all cells included in any cell Zone and replaces the effective viscosity by the...
Forum: OpenFOAM Community Contributions June 9, 2010, 05:22
Replies: 10
[swak4Foam] funkySetFields
Views: 2,596
Posted By herbert
Hi Chrisi, if you only want your porous...

Hi Chrisi,

if you only want your porous zones to be treated as laminar, I would suggest to use mut=0 is this region. Because can't be done directly, I'd suggest the following workaround.

Just...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 23:53.