|
[Sponsors] |
January 6, 2011, 11:34 |
Process control functionObject
|
#1 |
New Member
Thiago Vetter
Join Date: Jan 2011
Location: Rio de Janeiro
Posts: 4
Rep Power: 15 |
First of all, I'd like to stress that this is my very first post in this forum, despite the fact that I've consulted it several times to search for information regarding OpenFOAM.
Also, I'm quite new to OpenFOAM (i.e, a n00b) and perhaps some of my doubts and mistakes are quite elementary. So, to my problem: my project consists of creating a piece of generic code to be used with any solver to simulate process control. By that I mean control of a measured variable (such as temperature, pressure or the magnitude of velocity in one point, or something more complex such as flux on a surface) by changing a variable on a boundary condition (such as, in a simple case, the velocity on a uniform patch field). My first attempts of creating this generic piece of code is through a functionObject, based on the already existing "probes". However, "probes" acquires the fields from objectRegistry through a function that passes the fields as constant (the lookupObject function). And I've found no means to change these (now constant) fields. So I ask: is a functionObject the way to go about it or not? It seems to me that if the only way for a functionObject to access fields is through objectRegistry, then it will be impossible to change these fields. I would greatly appreciate any help and suggestions. |
|
Tags |
functionobject, openfoam, process control |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Control Volume , Finite Volume, Finite Control Volume, Finite Element Method | technocrat.prakash | Main CFD Forum | 1 | April 24, 2010 19:24 |
[Commercial meshers] Tgrid control surface for diagnostic purposes | josp | OpenFOAM Meshing & Mesh Conversion | 0 | November 20, 2008 05:36 |
Solid Timescale Control | Parthipan | CFX | 2 | August 24, 2007 10:07 |
maintaining a logarithmic velocity distribution | Morten Andersen | CFX | 1 | January 8, 2007 11:37 |
a grid error during solving process | Tiefeng WANG | CFX | 2 | June 14, 2002 09:07 |