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

OpenFoam ploting Field

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2012, 03:38
Default OpenFoam ploting Field
  #1
New Member
 
tek
Join Date: Jul 2011
Posts: 8
Rep Power: 14
tek_cfd is on a distinguished road
Dear Foamer,
I would like to create a field Ser, with
Ser=fvm::ddt(T)+(U & fvc::grad(T))
and using paraview to show Ser on each cell of my domain. I put this way but still have pb in compiling:

volScalarField Ser
(
IOobject
(
"Ser",
runTime.timeName(),
mesh,
IOobject::NO_READ,
IOobject::AUTO_WRITE
),
fvm::ddt(T)+(U & fvc::grad(T))

);

//Ser.write()
How can I proceed ?
your insight will be appreciated.
tek_cfd is offline   Reply With Quote

Old   July 31, 2012, 03:52
Default
  #2
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20
romant is on a distinguished road
Quote:
Originally Posted by tek_cfd View Post
Dear Foamer,
I would like to create a field Ser, with
Ser=fvm::ddt(T)+(U & fvc::grad(T))
and using paraview to show Ser on each cell of my domain. I put this way but still have pb in compiling:

volScalarField Ser
(
IOobject
(
"Ser",
runTime.timeName(),
mesh,
IOobject::NO_READ,
IOobject::AUTO_WRITE
),
fvm::ddt(T)+(U & fvc::grad(T))

);

//Ser.write()
How can I proceed ?
your insight will be appreciated.
What is the problem? What is mentioned during the compilation process?
__________________
~roman
romant is offline   Reply With Quote

Old   August 1, 2012, 16:15
Default
  #3
New Member
 
tek
Join Date: Jul 2011
Posts: 8
Rep Power: 14
tek_cfd is on a distinguished road
Thanks you romant. I finally solved the issue using fvc instead of fvm on Ser expression.
tek_cfd 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
Phase Field modeling in OpenFOAM adona058 OpenFOAM Running, Solving & CFD 35 November 16, 2021 00:16
Fluent elbow in Openfoam chemeng OpenFOAM 1 January 21, 2010 03:52
List of glitches found on OpenFOAM 1.6 wyldckat OpenFOAM Bugs 5 November 17, 2009 07:51
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 7 July 30, 2009 03:14
Would OpenFOAM be good for this shortterm project distributed force field brooksmoses OpenFOAM Running, Solving & CFD 2 November 2, 2005 03:58


All times are GMT -4. The time now is 07:34.