Thank you again, Professor, for your kind reply. I hope I have solved the ghost element problem. But now I am encountering a new error of
[0]PETSC ERROR: Argument out of range [0]PETSC ERROR: Inserting a new nonzero at (6,7) in the matrix I have reviewed the previous messages and found it challenging to pinpoint the exact problem. Md Mahmudul Islam On Mon, 14 Jul 2025 at 04:59, 'Wolfgang Bangerth' via deal.II User Group < [email protected]> wrote: > On 7/11/25 21:36, Md Mahmudul Islam wrote: > > I have read about the ghost element which is related to the > locally_owned_dofs > > and locally_relevant_dofs. I was confused if we need to create block > vector > > for each of the vectors that are used in the computation later. Like in > solve > > we have created completely_distributed_solution for locally_owned_dofs > only > > and then passed it to locally_relevant_solution which we used to compute > > output results later. > > Whether a vector does/does not have ghost entries is an entirely separate > question from whether a vector is/is not substructured into blocks. In > other > words, you need to follow the same kind of scheme of programs such as > step-40 > regarding where you need a ghosted and where you need a completely > distributed > vector. The only difference lies in how you *create* the vector: step-40 > creates non-block ghosted and completely distributed vectors, whereas > other > programs create block ghosted and completely distributed vectors. > > Best > W. > -- > ------------------------------------------------------------------------ > Wolfgang Bangerth email: [email protected] > www: http://www.math.colostate.edu/~bangerth/ > > > -- > The deal.II project is located at http://www.dealii.org/ > For mailing list/forum options, see > https://groups.google.com/d/forum/dealii?hl=en > --- > You received this message because you are subscribed to the Google Groups > "deal.II User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/dealii/7a7daa52-aa68-41ab-b14a-672109f76362%40colostate.edu > . > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/dealii/CAFAJfA2_0viCQt13VW2g2S%2BwLK6%3DuKtG5LvzJbNggFwJd4L_%3DQ%40mail.gmail.com.
# Listing of Parameters # --------------------- subsection Mesh & geometry parameters # The polynomial degree set pressure_fe_degree = 1 #Number_of_refinements set Number_of_refinements =5 end subsection Physical constants # Kinametic Viscosity set expected_viscosity = 0.000001 # Grad-div Stabilization Parameter set gamma = 10000.0 # Epsilon Value set epsilon = 0.001 # Final Time set final_time = 20 # Mu Value set mu = 1 end
step-55.cc
Description: Binary data
