|
[Sponsors] |
changing the names and types of a boundaryField |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 24, 2009, 09:55 |
changing the names and types of a boundaryField
|
#1 |
New Member
Gerard Mouokue
Join Date: Mar 2009
Location: Darmstadt, Hessen, Germany
Posts: 16
Rep Power: 17 |
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:perator=(const Foam::word&)« streicht Qualifizierer createUfield.H:36: Fehler: Die Übergabe von »const Foam::word« als »this«-Argument von »void Foam::word:perator=(const Foam::word&)« streicht Qualifizierer in the class polypatch ,there is no operator for assignment. Do I have to implement it myself ? thanks for your help. gerard |
|
|
|