# [waves2Foam] is there a way to force the outlet relaxation zone theoretical?

 Register Blogs Members List Search Today's Posts Mark Forums Read

 July 11, 2022, 07:22 is there a way to force the outlet relaxation zone theoretical? #1 New Member   eunchong Join Date: Feb 2022 Posts: 3 Rep Power: 2 Hello All, I'm beginner in waves2foam and trying to create a 2D stokes 5th wave. As far as I know, the relaxation at the outlet forced to kill the waves like sponge layer.(where the velocity vector is set of 0 and based on the position of the still water level.) but what I'm trying to do is force the outlet to follow the theoretical formula as inlet relaxation zone. If anyone knows this problem, I'd really appreciate it if you could let me know. thank you. Code: ```/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object environmentalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // seaLevel 0.00; // A list of the relaxation zones in the simulation. The parameters are given // in Coeffs below. relaxationNames (inlet outlet); initializationName outlet; inletCoeffs { waveType stokesFifth; Tsoft 2; period 2; depth 3.5; direction (1.0 0 0); phi 0.000000; height 0.0623; stokesDrift 0.0; // Specifications on the relaxation zone shape and relaxation scheme relaxationZone { relaxationScheme Spatial; relaxationShape Rectangular; beachType Empty; relaxType INLET; startX (0 -1 0); endX (6.5 1 0); orientation (1.0 0.0 0.0); } }; outletCoeffs { waveType potentialCurrent; U (0 0 0); Tsoft 2; relaxationZone { relaxationScheme Spatial; relaxationShape Rectangular; beachType Empty; relaxType OUTLET; startX (33.5 -1 0); endX (40 1 0); orientation (1.0 0.0 0.0); } };```