|
[Sponsors] |
changing the names and types of a boundaryField |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Gerard Mouokue
Join Date: Mar 2009
Location: Darmstadt, Hessen, Germany
Posts: 16
Rep Power: 18 ![]() |
Hi,
I want to change the names and types of a boundaryField (for example the velocity U) U.boundaryField()[patchI].patch().name() = "anewname" U.boundaryField()[patchI].patch().type() = " anewtype" after this my U field has to look like this boundaryField { anewname { type anewtype; } } wenn I run it I have errors. createUfield.H:35: Fehler: Die Übergabe von »const Foam::word« als »this«-Argument von »void Foam::word: ![]() createUfield.H:36: Fehler: Die Übergabe von »const Foam::word« als »this«-Argument von »void Foam::word: ![]() in the class polypatch ,there is no operator for assignment. Do I have to implement it myself ? thanks for your help. gerard |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|