Repository explanation: RBVMS CFD application overview#2
Repository explanation: RBVMS CFD application overview#2
Conversation
|
@copilot my focus is on rbvms and supg, so ignore the rbvms-ls |
Understood. The focus is on the |
|
@copilot what I confused is the workflow, what is the connection between mesh, condif, supg, rbvms,util folders and i am using linnux VM with info: Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 6.8.12-11-pve x86_64)
Last login: Fri Dec 5 08:08:30 2025 from 145.94.226.168 |
Here's the workflow and folder connections: Folder Structure:
Workflow:
Ubuntu 22.04 Setup: # Install dependencies
sudo apt-get update
sudo apt-get install cmake git build-essential openmpi-common libopenmpi-dev libmetis5 libmetis-dev
# Clone and build
git clone https://github.com/IdoAkkerman/rbvms.git
cd rbvms && mkdir build && cd build
cmake .. && make -j 4
# Run a test case
cd ../cases/poiseuille
bash run-nurbsVisualization: |
|
@copilot root@Sun:~/Minor_Project/build/bin# this is where I am at now, tell me what to do nex, btw, there is a new condif called condif3 in the branch minor2025 |
From To run the condif case (convection-diffusion with SUPG): cd ../../cases/condif
bash run-nurbsTo run rbvms cases (Navier-Stokes): cd ../../cases/poiseuille
bash run-nurbsFor the condif3 case on minor2025 branch: cd ~/Minor_Project
git fetch origin
git checkout minor2025
# Then rebuild if needed:
cd build && make -j 4
# Navigate to the new condif3 case and run itCheck available executables in your build: ls -la ~/Minor_Project/build/bin/
# You should see: rbvms, supg (and possibly rbvms-ls)The |
|
@copilot i keep getting this error: esh Characteristics: Strong = 1 Verification failed: (bnd_flag[b]) is false: MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes. |
The error indicates you need to specify boundary conditions for ALL boundaries in your mesh. Your mesh has multiple boundary attributes, but only boundary 1 is set. To fix: Update your run command to include all boundary attributes. Check your mesh file to see which boundary IDs exist, then specify them all: # For the original condif case with square.mesh (boundaries 1,2,3,4):
mpirun -n 1 ./supg -m square.mesh -o 2 -r 1 --strong-bdr "1 2 3 4" -l libfun.so
# For condif3 or other meshes, check boundary attributes:
grep -A 20 "boundary" your_mesh_file.meshThe mesh info shows 10 boundary elements - you need to identify all unique boundary attribute numbers and include them in Example if boundaries are 1-5: --strong-bdr "1 2 3 4 5"Check the |
Addressed request to explain what this repository is about.
RBVMS is a computational fluid dynamics application for incompressible flow simulation using the Residual-Based Variational Multiscale formulation.
Key characteristics:
Based on: Bazilevs & Akkerman, "Large eddy simulation of turbulent Taylor–Couette flow using isogeometric analysis and the residual-based variational multiscale method," J. Comp. Physics (2010).
No code changes required—this was an explanatory request.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.