I need a few explanation lines for this xml file for a study of mine and i have no experience.

Questions about XML that are not covered by the other forums should go here.
Yiakoup
Posts: 1
Joined: Tue Dec 01, 2020 2:29 pm

I need a few explanation lines for this xml file for a study of mine and i have no experience.

Post by Yiakoup » Tue Dec 01, 2020 2:35 pm

Code: Select all

<?xml version="1.0" ?>
<Experiment>

	<name>Solitary wave in a flat flume</name>
    <!-- Settings for Model -->
	<model type = "BSNQ">
		<parameters epsilon = 5e-12 Theta = 2 correctionStepsNum = 0 timestep = 0.005></parameters>
		<friction type = "Quadratic" coef = 0.00></friction>
	</model>
	
	<!-- Settings for Solution field -->
	<fieldDimensions width = 200 length = 5 stillWaterElevation = 0></fieldDimensions>
	<gridSize nx = 1600 ny = 5></gridSize>
	<bathymetryFilePath> flume.cbf </bathymetryFilePath>
	
	<!-- Settings for Initial Condition -->
	<hotStartFilePath> N/A </hotStartFilePath>
	<solitaryWave H = 0.05 theta = 0 xc = 45 yc = 2 ></solitaryWave>
	
	
	<!-- Settings for Boundaries-->
	<westBoundary type = "Sponge" seaLevel = 0 widthNum = 40></westBoundary>
	<eastBoundary  type = "Sponge" seaLevel = 0 widthNum = 40></eastBoundary>	
	<southBoundary type = "Solid" seaLevel = 0 widthNum = 2></southBoundary>	
	<northBoundary type = "Solid" seaLevel = 0 widthNum = 2></northBoundary>	
	
	<!-- Settings for Logging Data-->
	<logData doLog = true logStep = 100>
		<logPath>log/</logPath>
		<range filename = "flat_135_">
			<bottomLeft x = 0 y = 3></bottomLeft>
			<topRight x = 1603 y = 3></topRight>
		</range>
	</logData>

<!-- Settings for graphics are optional-->
	<graphics>
		<vertical scale = 1></vertical>
		<!-- Photorealistic = 0, PARULA = 1, JET = 2 -->
		<surfaceShading type = 2>
			<!-- Eta = 0, U = 1, V = 2, |U+V| = 3, Vorticity = 4 -->
			<shadingVariable value =  4></shadingVariable>

			<!-- -minMaxValue < value < +minMaxValue -->
			<colormap auto = true min = -1 max = 3></colormap>
			
			<drylandDepthOfInundation auto = true value = 0.1 max = 1></drylandDepthOfInundation>
		</surfaceShading>
		
		<!-- Textures = 0 to 5, COLORMAP = 6, CONTOURS = 7 -->
		<terrainTexture type = 6>
			<colormap auto = true min = -2 max = 4></colormap>
		</terrainTexture>
		
		<skybox type = 3></skybox>

		<grid show = true scale = 1></grid>

		<lighting ambient = 0.25 sunAltitude = 45 sunAzimuth = 30></lighting>
		<fresnel coef = 0.5 refractive_index = 3 attenuation_1 = 0 attenuation_2 = 0.1></fresnel>
		<camera auto = true FOV = 50 x = -100 y = -100 z = 40 pitch = -1 yaw = 0.785></camera>
	</graphics>

</Experiment>
If anyone have the time it will be very much appreciated.

Radu
Posts: 7399
Joined: Fri Jul 09, 2004 5:18 pm

Re: I need a few explanation lines for this xml file for a study of mine and i have no experience.

Post by Radu » Thu Dec 03, 2020 10:07 am

Hi,

What are your questions?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply