Welcome, Guest
Username: Password: Remember me

TOPIC: Modification for time varying boundary condition

Modification for time varying boundary condition 9 years 8 months ago #16050

  • schaad
  • schaad's Avatar
I am implementing a modification in T2D where a routine updates the tracer concentration at an inflow boundary based on the outflow at another boundary. The custom routine updates the source (or liquid) file with the updated tracer concentrations at each iteration. I need the new tracer concentrations at the boundary updated at each iteration. Currently, they are only loaded once during the preprocessing phase. Where in the source code would it be simplest to add a customization which reloads the tracer concentration after each iteration?

Regards,
Simon
The administrator has disabled public write access.

Modification for time varying boundary condition 9 years 8 months ago #16054

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Look at function TR in library telemac2d. The line :

CALL READ_FIC_FRLIQ(TR,...

returns the value TR read in the file. You can change FR , depending on time AT, at this level without bothering to change the file.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Modification for time varying boundary condition 9 years 8 months ago #16075

  • schaad
  • schaad's Avatar
Thank you, that was much easier than I anticipated!
The administrator has disabled public write access.

Modification for time varying boundary condition 9 years 8 months ago #16078

  • jmhervouet
  • jmhervouet's Avatar
Of course FR in my last post should be TR...

JMH
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.