Thanks again Chris.
Still stuck - so to answer your questions;
1. Yes, there is a temp directory that contains:
a. an almost empty config file (only two numbers)
b. an empty sortie file
c. a copy of my .cas file (t2dcas)
d. a copy of my .clm file (t2dcli)
e. a t2ddico file (looks complete)
f. a t2dgeo file (that I can open just fine in BlueKenue)
g. a t2dres file (unsurprisingly empty).
2. The code stops dead after copying the files. No helpful error message. I think it must relate to my particular model, because I can run the test cases fine, and have managed to run a few simple made up models created in BlueKenue as well.
3. I'm reticent to send the files over the forum for confidentiality reasons - but could send them directly.
Also, from my investigations today I am now fairly certain that I must have a problem with my mesh (and a related problem with the .clm file). The mesh is huge and complex (not a good place to start as a beginner user). I have around 300,000 nodes and 550,000 elements that describe the rather complicated coastline of British Columbia. I have checked the mesh for as many things as I know to check for (more than 8 neighbours, less than three elements between boundaries, nicely shaped triangles, etc....I've been building 2D meshes for 15 years - just not for TELEMAC). I've been using TRIGRID to work on most of these issues. Though, according the the mesh analyser in BlueKenue I have 1 edge node with 9 neighbours that doesn't appear in TRIGRID (I've also written a macro to search through the .t3s file to no avail). Is there a way to track down this errant node/element? Also, at one point I got TELEMAC to go one step further (it crashed after sorting out memory for the mesh) and it provided an error message that related to a specific element (not the node) - is there an easy way to find an element in BlueKenue, TRIGRID or anything else? I eventually tracked down the element by looking for the proverbial needle in the haystack, and there was in fact an error in the .clm file at this point (it looked to be a bug in the CONLIM creator program in BlueKenue - I'll describe this separately in the Pre/Post Processor forum once I'm sure of what might have happened).
So, to summarise - I think I'm dealing with errors in my mesh, but I'm having a hard time figuring out what they are.
Thanks again for all your help to date (and of course for any future help),
Tamsin