changing the names and types of a boundaryField
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::operator=(const Foam::word&)« streicht Qualifizierer createUfield.H:36: Fehler: Die Übergabe von »const Foam::word« als »this«-Argument von »void Foam::word::operator=(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 |
All times are GMT -4. The time now is 23:40. |