CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Is there a way to change the name a volScalarField

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 18, 2007, 18:20
Default such as volScalarField vsf ..
  #1
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17
liu is on a distinguished road
such as
volScalarField vsf ......
vsf.name() = "something" does not work.
__________________
Xiaofeng Liu, Ph.D., P.E.,
Assistant Professor
Department of Civil and Environmental Engineering
Penn State University
223B Sackett Building
University Park, PA 16802


Web: http://water.engr.psu.edu/liu/
liu is offline   Reply With Quote

Old   October 18, 2007, 18:44
Default See regIOobject.H vsf.renam
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
See regIOobject.H

vsf.rename(const word& newName)
mattijs is offline   Reply With Quote

Old   October 18, 2007, 18:49
Default Thank you!
  #3
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17
liu is on a distinguished road
Thank you!
__________________
Xiaofeng Liu, Ph.D., P.E.,
Assistant Professor
Department of Civil and Environmental Engineering
Penn State University
223B Sackett Building
University Park, PA 16802


Web: http://water.engr.psu.edu/liu/
liu is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wall distance volScalarField r2d2 OpenFOAM Running, Solving & CFD 3 October 10, 2018 13:54
VolScalarField without boundary conditions kar OpenFOAM Running, Solving & CFD 2 February 24, 2008 22:52
VolScalarField dimensionSet luca OpenFOAM Running, Solving & CFD 0 July 10, 2006 10:55
Incorporate known VolScalarfield in PDE stephan OpenFOAM Running, Solving & CFD 0 November 29, 2005 08:13
Problems with volScalarField niklas OpenFOAM Running, Solving & CFD 2 November 28, 2005 17:05


All times are GMT -4. The time now is 15:38.