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

Transporting data from patch faces to nearby cells on multiple threads

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2015, 10:05
Default Transporting data from patch faces to nearby cells on multiple threads
  #1
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
I have a rather complex problem in which I have a source term for boundary patch faces that I want to distribute on nearby cells based on the distance between a cell and the patch face. I could do this rather easily on a single thread by iterating through cell neighbours until the distance between cells and patch face gets too large. However, on a decomposed mesh I'm going to hit processor boundaries. Is there any way to access the complete mesh on each core?

I'm also wondering if it is possible to use the meshWave class for this somehow, but I don't completely understand it yet. Can anyone give me some hints on that?

In short: I need to know the distance of cells to patch faces for cells close to the patches for decomposed meshes send data from the patch faces to these cells across processors.

Some context: This is for an ablation model which gives a mass source term at the wall. However, with thin layers at the wall the patch-normal velocity gets too high for reasonable simulation runtimes and so I want to distribute the mass source on near cells to get a lower pressure gradient and velocity.
chriss85 is offline   Reply With Quote

Old   May 26, 2015, 07:55
Default
  #2
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
No ideas? Is anything unclear?
chriss85 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
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Meshing & Mesh Conversion 13 February 17, 2022 07:34
CFD by anderson, chp 10.... supersonic flow over flat plate varunjain89 Main CFD Forum 18 May 11, 2018 07:31
[OpenFOAM.org] OF2.3.1 + OS13.2 - Trying to use the dummy Pstream library aylalisa OpenFOAM Installation 23 June 15, 2015 14:49
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


All times are GMT -4. The time now is 09:50.