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

Accessing multiple boundary patches from a custom boundary condition file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2014, 19:34
Default Accessing multiple boundary patches from a custom boundary condition file
  #1
Member
 
Ripudaman Manchanda
Join Date: May 2013
Posts: 55
Rep Power: 13
ripudaman is on a distinguished road
I have a created a custom fixedGradient Boundary condition based on the tractionDisplacement boundary condition in OF 2.3.x. In this boundary condition I am calculating the traction distribution along a particular boundary patch. In my model I have two overlapping patches (baffles) that I obtain by using snappyHexMesh and snapping a 2D surface in the blockMesh grid. The traction boundary condition on the two overlapping patches causes the opening of the patches as shown in the figure below.(Here the traction condition has a uniform distribution)

The boundary condition on the two faces is equal and opposite. Thus I want to calculate the traction distribution for one patch and just apply the equal and opposite traction distribution on the opposite (corresponding) patch. Since my current implementation is in the boundary condition file, the solution of the traction distribution along both the patches is being calculated and my simulation is wasting precious computation time. I want to avoid that and calculate only once. Do you have an solution to this problem?
Attached Images
File Type: jpg frac.jpg (100.0 KB, 14 views)
ripudaman is offline   Reply With Quote

Reply


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
how to calculate mass flow rate on patches and summation of that during the run? immortality OpenFOAM Post-Processing 104 February 16, 2021 09:46
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 07:42
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 04:23
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 10:00.