lp:~fluidity-core/fluidity/fluidity-initialisation-from_netcdf

Created by Stephan Kramer and last modified
Get this branch:
bzr branch lp:~fluidity-core/fluidity/fluidity-initialisation-from_netcdf
Members of Fluidity Core Team can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Fluidity Core Team
Project:
Fluidity
Status:
Development

Recent revisions

3943. By Stephan Kramer

Fix initialising prescribed fields from "netcdf" format in parallel.

3942. By Stephan Kramer

Merging from trunk.

3941. By Stephan Kramer

Cleaning up before merge request.

3940. By Stephan Kramer

Should have committed these file for the test as well.

3939. By Stephan Kramer

Merging in from trunk.

3938. By Stephan Kramer

Actually testing the values brought up two more bugs. Now pretty confident it actually works.

3937. By Stephan Kramer

Add prescribed field initialised from netcdf, to be compared with a python diagnostic field using the same function used to create the netcdf file.
Fixed mem leak in initialsing form netcdf.

3936. By Stephan Kramer

Several bug fixes. Test now runs through and seems to give sensible answers.

3935. By Stephan Kramer

Start of a new test to test SampleNetCDF and tidal boundary conditions.
Does not yet work.
Accidentily removed tidal boundary conditions also from "Pressure" - putting back in.

3934. By Stephan Kramer

This commit address 2 issues:
* interpolating errors along the phase=360 lines of tidal forcing read netcdf files
* the tidal forcing is no longer read every timestep, but only once in populate_state - this prevents reading the entire netcdf tidal atlas on every processor every timestep.

In femtools/SampleNetCDF_fortran.F90:
- fix intents of id argument of most SampleNetCDF_XXX() routines.
- add SampleNetCDF_to_field that sets a scalar field from netcdf values.
In preprocessor/Boundary_Conditions_From_Options.F90
- add new populate_tidal_bc() routine, that initialises the tidal bc calculation by computing the real and complex components of A(x)exp(i*alpha(x)), where A(x) is amplitude and alpha(x) the phase, and store these components as surface fields under the bc.
- in set_tidal_bc_value() it now uses these to compute the free surface contributions of the different tidal components.
In schemas/:
- taking away the dirichlet/from_file/tidal option under various balance pressure fields. For these cases (other than field%name=="Pressure") the tidal forcing was never multiplied by g, so this would not have worked.
- because this was also still present under the no longer existing "prognostic free surface", this has now finally been taken out of the schema - which meant also deleting it from the shallow water and test_advection_diffussion schemes.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:fluidity
This branch contains Public information 
Everyone can see this information.