~fluidity-core/fluidity/sediment

« back to all changes in this revision

Viewing changes to tests/sediment_concentration_dependent_viscosity/sediment_concentration_dependent_viscosity.flml

  • Committer: Sam Parkinson
  • Date: 2011-12-01 15:18:13 UTC
  • mfrom: (3413.1.30 sediment_restructure)
  • Revision ID: s.parkinson11@imperial.ac.uk-20111201151813-9vygndld22tdzepx
merge with sediment_restructure branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
255
255
      </prescribed>
256
256
    </tensor_field>
257
257
    <sediment>
258
 
      <scalar_field name="SedimentTemplate" rank="0">
 
258
      <scalar_field name="1mm" rank="0">
259
259
        <prognostic>
260
260
          <mesh name="VelocityMesh"/>
261
261
          <equation name="AdvectionDiffusion"/>
296
296
            </diagnostics>
297
297
          </solver>
298
298
          <initial_condition name="WholeMesh">
299
 
            <constant>
300
 
              <real_value rank="0">0.0</real_value>
301
 
            </constant>
 
299
            <python>
 
300
              <string_value lines="20" type="python">def val(X, t):
 
301
  c = 0.5 * (X[1]/0.01)
 
302
  return c</string_value>
 
303
            </python>
302
304
          </initial_condition>
 
305
          <boundary_conditions name="noflux">
 
306
            <surface_ids>
 
307
              <integer_value shape="2" rank="1">2 3</integer_value>
 
308
            </surface_ids>
 
309
            <type name="zero_flux"/>
 
310
          </boundary_conditions>
 
311
          <scalar_field name="SinkingVelocity" rank="0">
 
312
            <prescribed>
 
313
              <value name="WholeMesh">
 
314
                <constant>
 
315
                  <real_value rank="0">0.01</real_value>
 
316
                </constant>
 
317
              </value>
 
318
              <output/>
 
319
              <stat/>
 
320
              <detectors>
 
321
                <exclude_from_detectors/>
 
322
              </detectors>
 
323
            </prescribed>
 
324
          </scalar_field>
303
325
          <output/>
304
326
          <stat/>
305
327
          <convergence>
312
334
            <include_in_steady_state/>
313
335
          </steady_state>
314
336
          <consistent_interpolation/>
 
337
          <scalar_field name="Bedload" rank="0">
 
338
            <diagnostic>
 
339
              <surface_ids>
 
340
                <integer_value shape="1" rank="1">1</integer_value>
 
341
              </surface_ids>
 
342
              <output/>
 
343
              <stat/>
 
344
              <convergence>
 
345
                <include_in_convergence/>
 
346
              </convergence>
 
347
              <detectors>
 
348
                <include_in_detectors/>
 
349
              </detectors>
 
350
              <steady_state>
 
351
                <include_in_steady_state/>
 
352
              </steady_state>
 
353
            </diagnostic>
 
354
          </scalar_field>
 
355
          <scalar_field name="BedloadVolumeFraction" rank="0">
 
356
            <diagnostic>
 
357
              <output/>
 
358
              <stat/>
 
359
              <convergence>
 
360
                <include_in_convergence/>
 
361
              </convergence>
 
362
              <detectors>
 
363
                <include_in_detectors/>
 
364
              </detectors>
 
365
              <steady_state>
 
366
                <include_in_steady_state/>
 
367
              </steady_state>
 
368
            </diagnostic>
 
369
          </scalar_field>
 
370
          <submerged_specific_gravity>
 
371
            <real_value rank="0">2.0</real_value>
 
372
          </submerged_specific_gravity>
 
373
          <diameter>
 
374
            <real_value rank="0">0.001</real_value>
 
375
          </diameter>
315
376
        </prognostic>
316
 
        <density>
317
 
          <real_value rank="0">3000</real_value>
318
 
        </density>
319
 
        <diameter>
320
 
          <real_value rank="0">0.001</real_value>
321
 
        </diameter>
322
 
      </scalar_field>
323
 
      <scalar_field name="SedimentDepositionTemplate" rank="0">
324
 
        <diagnostic>
325
 
          <surface_ids>
326
 
            <integer_value shape="1" rank="1">1</integer_value>
327
 
          </surface_ids>
328
 
          <mesh name="VelocityMesh"/>
329
 
          <output/>
330
 
          <stat/>
331
 
          <convergence>
332
 
            <include_in_convergence/>
333
 
          </convergence>
334
 
          <detectors>
335
 
            <include_in_detectors/>
336
 
          </detectors>
337
 
          <steady_state>
338
 
            <include_in_steady_state/>
339
 
          </steady_state>
340
 
        </diagnostic>
341
 
      </scalar_field>
342
 
      <sediment_class name="1mm">
343
 
        <initial_condition name="WholeMesh">
344
 
          <python>
345
 
            <string_value lines="20" type="python">def val(X, t):
346
 
  c = 0.5 * (X[1]/0.01)
347
 
  return c</string_value>
348
 
          </python>
349
 
        </initial_condition>
350
 
        <boundary_conditions name="noflux">
351
 
          <surface_ids>
352
 
            <integer_value shape="2" rank="1">2 3</integer_value>
353
 
          </surface_ids>
354
 
          <type name="zero_flux"/>
355
 
        </boundary_conditions>
356
 
        <scalar_field name="SinkingVelocity" rank="0">
357
 
          <prescribed>
358
 
            <value name="WholeMesh">
359
 
              <constant>
360
 
                <real_value rank="0">0.01</real_value>
361
 
              </constant>
362
 
            </value>
363
 
            <output/>
364
 
            <stat/>
365
 
            <detectors>
366
 
              <exclude_from_detectors/>
367
 
            </detectors>
368
 
          </prescribed>
369
 
        </scalar_field>
370
 
      </sediment_class>
 
377
      </scalar_field>
 
378
      <scalar_field name="SedimentBedActiveLayerD50" rank="0">
 
379
        <diagnostic>
 
380
          <surface_ids>
 
381
            <integer_value shape="1" rank="1">1</integer_value>
 
382
          </surface_ids>
 
383
          <algorithm name="Internal" material_phase_support="multiple"/>
 
384
          <mesh name="VelocityMesh"/>
 
385
          <output/>
 
386
          <stat/>
 
387
          <convergence>
 
388
            <include_in_convergence/>
 
389
          </convergence>
 
390
          <detectors>
 
391
            <include_in_detectors/>
 
392
          </detectors>
 
393
          <steady_state>
 
394
            <include_in_steady_state/>
 
395
          </steady_state>
 
396
        </diagnostic>
 
397
      </scalar_field>
 
398
      <scalar_field name="SedimentBedActiveLayerSigma" rank="0">
 
399
        <diagnostic>
 
400
          <surface_ids>
 
401
            <integer_value shape="1" rank="1">1</integer_value>
 
402
          </surface_ids>
 
403
          <algorithm name="Internal" material_phase_support="multiple"/>
 
404
          <mesh name="VelocityMesh"/>
 
405
          <output/>
 
406
          <stat/>
 
407
          <convergence>
 
408
            <include_in_convergence/>
 
409
          </convergence>
 
410
          <detectors>
 
411
            <include_in_detectors/>
 
412
          </detectors>
 
413
          <steady_state>
 
414
            <include_in_steady_state/>
 
415
          </steady_state>
 
416
        </diagnostic>
 
417
      </scalar_field>
371
418
    </sediment>
372
419
  </material_phase>
373
420
</fluidity_options>