CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

set a volScalarField values

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

LinkBack Thread Tools Display Modes
Old   July 5, 2012, 08:43
Default set a volScalarField values
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 271
Rep Power: 11
anishtain4 is on a distinguished road
I'm working in Fourier space, I need a volScalarField that holds the wave number of grid points. How should I do this? As I've understood there is no way to directly point to a specific point in the grid and set it's value. but how should I do this?
anishtain4 is offline   Reply With Quote

Old   July 5, 2012, 09:28
Senior Member
niaz's Avatar
Join Date: Jun 2009
Posts: 120
Rep Power: 10
niaz is on a distinguished road
Dear anishtain?
you can use setfield for your purpose.
you can find test cases in multiphase flow folder of openfoam.
niaz is offline   Reply With Quote


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
Instalation on ubuntu 710 basilwatson OpenFOAM Installation 17 March 16, 2012 21:16
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
Set nonuniform boundary values nikwin OpenFOAM Running, Solving & CFD 1 November 30, 2008 08:12
Install problem in linux navaladi OpenFOAM Installation 11 July 17, 2008 02:24
Help with GNUPlot Renato. Main CFD Forum 6 June 6, 2007 19:51

All times are GMT -4. The time now is 12:01.