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

set a volScalarField values

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 5, 2012, 09:43
Default set a volScalarField values
  #1
Senior Member
 
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18
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, 10:28
Default
  #2
Senior Member
 
niaz's Avatar
 
A_R
Join Date: Jun 2009
Posts: 122
Rep Power: 17
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

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
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 03:24
Help with GNUPlot Renato. Main CFD Forum 6 June 6, 2007 20:51


All times are GMT -4. The time now is 19:20.