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

[swak4Foam] How can change internalField in groovyBC?is it possible?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2013, 10: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,208
Rep Power: 26
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, 15:06
Default
  #2
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
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.
chegdan is offline   Reply With Quote

Old   July 1, 2013, 15:39
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
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.
__________________
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, 16:26
Default
  #4
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan 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

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

Old   July 1, 2013, 17:11
Default
  #5
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
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 6 June 24, 2021 12:14
Thermal phase change model Piti CFX 1 January 14, 2021 11:03
Mass Transfer without Phase Change in InterPhaseChangeFoam Parisa_Khiabani OpenFOAM Running, Solving & CFD 5 May 26, 2015 10:40
No density change - rhoSimplecFoam krapic OpenFOAM 1 November 29, 2014 19:39
Help with writing a macro/UDF_file/script to change BC at regular time step intervals Codophobia Fluent Multiphase 0 April 24, 2014 11:07


All times are GMT -4. The time now is 06:01.