
Overview This release provides a stable version of the standing non-linear wave simulation framework built on Basilisk. The code implements Stokes wave theory for analytical initialization and a best-fit approach for experimental initial conditions. Adaptive mesh refinement enables detailed interface tracking and efficient resolution of wave behavior. Key Features Two-Phase Flow with Surface Tension Employs a Volume of Fluid (VoF) method for interface tracking and a height function method for curvature calculation. Adaptive Mesh Refinement Dynamically refines regions of high error and maintains coarser meshes elsewhere. Analytical & Experimental Initial Conditions Offers built-in Stokes wave solutions alongside a best-fit initialization from experimental data. Comprehensive Post-Processing Includes scripts for data extraction, interface geometry, and video generation. Installation and Setup Clone the Repository git clone https://github.com/VatsalSy/standing-non-linear-waves.git cd standing-non-linear-waves Run Setup Script ./reset_install_requirements.sh This checks for Basilisk and installs it if needed. • Use ./reset_install_requirements.sh Hard for a fresh, clean installation. Environment Configuration A .project_config file is generated to set BASILISK and update PATH automatically. Usage Compile and Run Go to the testCases/ directory and build using the Makefile: cd testCases make StokesStandingWaves or compile directly with: qcc -O2 -Wall -disable-dimensions StokesStandingWaves.c -o StokesStandingWaves -lm Execute ./StokesStandingWaves maxLevel Ga Bo A0 ORDER tmax • maxLevel: max refinement level (default: 7) • Ga: Galileo number • Bo: Bond number • A0: wave amplitude • ORDER: 0–8 for analytical, -1 for best fit • tmax: max simulation time Post-Processing Use the postProcessData.sh script in postProcessScripts/ to generate visualizations and extract data. For example: cd testCases/ ./postProcessData.sh • video.py: Creates wave evolution videos and contour plots. • getData / getFacets: Extract velocity, vorticity, and interface geometry. Changelog • Initial Release • Integrated Basilisk-based solver. • Adaptive mesh refinement for two-phase flows. • Scripts for post-processing and visualization. • Analytical (Stokes) and experimental (best fit) initial conditions. License Distributed under the [GNU General Public License v3.0](https://github.com/comphy-lab/standing-non-linear-waves/releases/LICENSE). Citation If you use this code in your research, please cite: Contact: [Vatsal Sanjay](mailto:vatsalsanjay@gmail.com) (University of Twente)
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 0 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
