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

How can change internalField in groovyBC?is it possible?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 1, 2013, 09:39
Default How can change internalField in groovyBC?is it possible?
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
In some BC's like fixedMeanValue,some modifications are done on internalField values.
Is there such a function in groovyBC to change internalField values?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   July 1, 2013, 14:06
Default
  #2
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 543
Rep Power: 18
chegdan will become famous soon enough
Maybe you would be interested in the following thread

how to implement fixedMean in groovyBC?

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.
__________________
Dan

Find me on twitter @dancombest and LinkedIn
chegdan is offline   Reply With Quote

Old   July 1, 2013, 14:39
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
I referred to this thread:
why fixedValue pressure makes neighbor cells incorrect values
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.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   July 1, 2013, 15:26
Default
  #4
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 543
Rep Power: 18
chegdan will become famous soon enough
To those that came here late....I wrote a long rant about being thoughtful and spending time to put questions and responses together.

nevermind
__________________
Dan

Find me on twitter @dancombest and LinkedIn

Last edited by chegdan; July 1, 2013 at 17:20. Reason: removed rant by deleting
chegdan is offline   Reply With Quote

Old   July 1, 2013, 16:11
Default
  #5
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
it seems the question is obvious enough.
to future readers:I think there is nothing for make changes in internalField values.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Reply

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
Can a solver change the type of a boundary/patch ? fredo490 OpenFOAM Programming & Development 4 May 21, 2013 06:56
Thermal phase change model Piti CFX 0 February 9, 2009 10:27
Model foaming process: change the volume / density pmp77 CFX 0 November 18, 2008 10:53
How to change contour line thickness? Mishar CD-adapco 0 December 15, 2004 11:28
help needed about phase change Yanhu Guo Main CFD Forum 4 January 24, 2001 00:16


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