CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Is there a way to change the name a volScalarField (https://www.cfd-online.com/Forums/openfoam-solving/59375-there-way-change-name-volscalarfield.html)

liu October 18, 2007 17:20

such as volScalarField vsf ..
 
such as
volScalarField vsf ......
vsf.name() = "something" does not work.

mattijs October 18, 2007 17:44

See regIOobject.H vsf.renam
 
See regIOobject.H

vsf.rename(const word& newName)

liu October 18, 2007 17:49

Thank you!
 
Thank you!


All times are GMT -4. The time now is 17:39.