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

Parallel problem in boundary treatment

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 14, 2020, 10:40
Default Parallel problem in boundary treatment
  #1
New Member
 
Yujuan Luo
Join Date: Jul 2019
Posts: 21
Rep Power: 6
Yujuan is on a distinguished road
Hi all,


I want to make special treatment to the temperature on the wall boundary in the solver. And I wrote in the solver the following code:

forAll (T.boundaryField(),patchi)
{
if (mesh.boundary()[patchi].type() == "wall")
{
const fvPatchScalarField& Ts = T.boundaryField()[patchi];
forAll(Ts, facei)
Ts[facei] = specific formula;

}

}

The solver compiled without problem. However, it just crashes when running with error information about mpi:

I can't figure out the reason. What should I do to avoid this problem? Thanks a lot!
Yujuan 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
Table bounds warnings at: END OF TIME STEP CFXer CFX 4 July 16, 2020 23:44
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 01:27
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 05:15
Low Mixing time Problem Mavier CFX 5 April 29, 2013 00:00


All times are GMT -4. The time now is 21:24.