CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Pre-Processing (
-   -   How can change internalField in groovyBC?is it possible? (

immortality July 1, 2013 09:39

How can change internalField in groovyBC?is it possible?
In some BC's like fixedMeanValue,some modifications are done on internalField values.
Is there such a function in groovyBC to change internalField values?

chegdan July 1, 2013 14:06

Maybe you would be interested in the following thread

i bet if you posted what you have tried and walked people through the steps you have taken, people would jump along and help. Just a thought.

immortality July 1, 2013 14:39

I referred to this thread:
I noticed meanValue isn't what I wanted.
if it be possible that assign p according to internalField its fine.
If you run the semi case,you see that p near the output only decreases to a confined value not to the specified p on the boundary(patch opening)
I really am a bit mixed up so try various ways.

chegdan July 1, 2013 15:26

To those that came here late....I wrote a long rant about being thoughtful and spending time to put questions and responses together.


immortality July 1, 2013 16:11

it seems the question is obvious enough.
to future readers:I think there is nothing for make changes in internalField values.

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