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

OpenFoam ploting Field

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 31, 2012, 03:38
Default OpenFoam ploting Field
  #1
New Member
 
tek
Join Date: Jul 2011
Posts: 8
Rep Power: 6
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: Stockholm, Sweden
Posts: 360
Rep Power: 12
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: 6
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

Thread Tools
Display Modes

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 On
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 24 January 31, 2015 07:01
Fluent elbow in Openfoam chemeng OpenFOAM 1 January 21, 2010 04:52
List of glitches found on OpenFOAM 1.6 wyldckat OpenFOAM Bugs 5 November 17, 2009 08: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 04:58


All times are GMT -4. The time now is 06:00.