CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Irritation with boundary conditions

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 12, 2016, 06:58
Default Irritation with boundary conditions
  #1
New Member
 
Paul
Join Date: Jun 2016
Posts: 21
Rep Power: 9
ChasingNeutrons is on a distinguished road
Hi all,

I have made a solver which apparently works quite well. I calculate the scalar flux of neutrons by tracing rays across the geometry and summing up each ray's contribution to each cell. However, in doing this I've played it pretty loose with boundary conditions; a solver such as this typically has boundary conditions on the rays whereas OF (as far as I'm aware) applies them to the fields themselves, the scalar flux in this case. I have implemented boundary conditions on my rays although in a more roundabout manner which, frankly, I'm fairly happy with for the moment.

However, I gather I still must apply boundary conditions to my scalar flux field. Initially I presumed this wouldn't cause a problem as I thought BCs has to be explicitly applied either via a command or automatically during matrix computations (which I certainly don't do in my solver). Sadly it seems I haven't avoided this problem - rather these boundary conditions are applied and do affect the solution somewhat.

Hence, my question: is there any way to avoid applying BCs in the manner of zeroGradient, uniformValue etc.? Alternately, is there a non-intrusive BC I can easily apply instead?

Cheers for any help.
ChasingNeutrons is offline   Reply With Quote

Old   August 12, 2016, 18:52
Default
  #2
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 17
kmooney is on a distinguished road
Have you tried the 'calculated' type?
kmooney 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 08:44
GETVAR Error in Multiband Monte Carlo Radiation Simulation with Directional Source silvan CFX 3 June 16, 2014 09:49
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28


All times are GMT -4. The time now is 14:59.