CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   How can change internalField in groovyBC?is it possible? (http://www.cfd-online.com/Forums/openfoam-pre-processing/120136-how-can-change-internalfield-groovybc-possible.html)

immortality July 1, 2013 10: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 15:06

Maybe you would be interested in the following thread

http://www.cfd-online.com/Forums/ope...tml#post437144

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 15:39

I referred to this thread:
http://www.cfd-online.com/Forums/ope...tml#post437123
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 16:26

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

nevermind

immortality July 1, 2013 17: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:13.