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

Error in parallel processing with changing boundary conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2020, 01:30
Default Error in parallel processing with changing boundary conditions
  #1
C_J
New Member
 
C J
Join Date: Mar 2020
Posts: 3
Rep Power: 6
C_J is on a distinguished road
Hi!

Parallel processing worked fine before I implemented a boundary condition that changed with every time step. The boundary is defined as a fixed value (the error occurs with the groovy boundary too) and the boundary is changed using "variable.boundaryField()[patchID]==newvalue;
variable.correctBoundaryConditions();"

When I try to run parallel processing with changing boundary I get a "possible face ordering problem" after running three time steps.

I suspect the issue is in the dynamic mesh (a spherical mesh that expands with time). The type of dynamic mesh selected is the dynamicMotionSolverFvmesh, solver is velocityLaplacian. The mesh is expanded based on a value calculated from the solver. Could someone please provide a solution?

BTW the removeSlivers is set to "true" and edgeRefinement to "false" in the dynamicMeshDict, if that has anything to do with this error. Not sure where to look. Help please!
C_J is offline   Reply With Quote

Old   March 4, 2020, 07:50
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hi!


Have you tried the coded BC? It should work with dynamicRefinement too which is a more complex "motion" solver than a laplacian solver.
There are plenty of examples about how to use a coded BC around the web.
(NOT A NEW BC, but a coded BC, they are not exactly the same!!! The result is the same but i like coded BC more since you just modify the code in the BC and it'll recompile it in the next run automatically.)
simrego is offline   Reply With Quote

Old   March 6, 2020, 01:46
Default
  #3
C_J
New Member
 
C J
Join Date: Mar 2020
Posts: 3
Rep Power: 6
C_J is on a distinguished road
Quote:
Originally Posted by simrego View Post
Hi!


Have you tried the coded BC? It should work with dynamicRefinement too which is a more complex "motion" solver than a laplacian solver.
There are plenty of examples about how to use a coded BC around the web.
(NOT A NEW BC, but a coded BC, they are not exactly the same!!! The result is the same but i like coded BC more since you just modify the code in the BC and it'll recompile it in the next run automatically.)
Thank you for your answer. I'm using Foam-extended to make use of the groovy boundary, as I have to expand the mesh using a realtime value calculated by the solver in each time-step. Parallel processing worked well when an average constant value was used for the boundary condition. I tried using the coded boundary condition to change the boundary condition in each time-step on the Foam-extended version, but it seem to be implementable only in openfoam-dev. Could you suggest a method to implement a changing boundary condition that will enable parallel processing in the Foam-extended version?



Thank you very much in advance!
C_J 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
My radial inflow turbine Abo Anas CFX 27 May 11, 2018 02:44
CFD analaysis of Pelton turbine amodpanthee CFX 31 April 19, 2018 19:02
Problem in setting Boundary Condition Madhatter92 CFX 12 January 12, 2016 05:39
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 18:30
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 18:44


All times are GMT -4. The time now is 03:18.