Welcome, Guest
Username: Password: Remember me

TOPIC: Spatial and temporal varying boundary conditions

Spatial and temporal varying boundary conditions two boundaries 4 months 1 week ago #43833

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1455
  • Thank you received: 560
Hello,

It could be interesting that you upload the full files (at least the steering file, the boundary conditions file, the Fortran files in the Fortran file folder.

In parallel, you can proceed step by step:
- upstream and downstream determined by keywords in the steering file,
- upstream or downstream determined by keywords in the steering file + the other one in the liquid boundaries file (constant in space),
- upstream and downstream determined by the liquid boundaries file (constant in space).
The first 3 solutions do not need any Fortran file.

Then try to modify with variation in space.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.

Spatial and temporal varying boundary conditions two boundaries 4 months 1 week ago #43851

Professor Pham,

thanks for your reponse,I need to use liquid boundary file because the upstream boundary and downstream boundary temporal varying, the files are attached, thanks for checking^^

Best regards,
Chenyu
Attachments:
The administrator has disabled public write access.

Spatial and temporal varying boundary conditions two boundaries 4 months 1 week ago #43852

Professor Pham,

thanks for your reponse,I need to use liquid boundary file because the upstream boundary and downstream boundary temporal varying, the files are attached, thanks for checking^^

Best regards,
Chenyu
The administrator has disabled public write access.

Spatial and temporal varying boundary conditions two boundaries 4 months 6 days ago #43865

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1455
  • Thank you received: 560
Hello Chenyu,

FYI I am not a professor, just a doctor. But you can just call me Chi-Tuan.

Anyway, I have suggested you to proceed step by step to isolate the issue. If the first 3 steps are OK, that means your implementation in Fortran files is suspicious. You should then investigate deeper in what you try.

First classical question: does it work in scalar mode/sequential mode (only 1 core)? If yes and not in parallel, this is a parallel issue. If no, you should start with less nodes at the boundary to test your own implementation. Maybe you can start with a coarser mesh or another mesh just to check your implementation.

Looking very quickly to what you have written, I have first quick remarks:
- please you the latest release, you seem to use a quick old one. There is no assistance for old releases,
- when I read:
        IF (NCSIZE.GT.1) K = MESH%KNOLG%I(N)
		K = N
I can say that the first line is useful for parallel computations but is useless as the 2nd line always changes the value K to N.

Be sure what you have implemented is exactly what you want.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.

Spatial and temporal varying boundary conditions two boundaries 1 month 3 weeks ago #44299

  • Marleine
  • Marleine's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 32
Hello Dear all,
When using the liquid boundaries file, how can I fill it knowing that I have to use discharges upstream and elevation downstream that do not have the same time step (daily discharges and four values of elevation each day) ??

Thanks and Best regards,
Marleine
The administrator has disabled public write access.

Spatial and temporal varying boundary conditions two boundaries 1 month 3 weeks ago #44305

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1455
  • Thank you received: 560
Hello Marleine,

You can interpolate your discharge data at the same times as your elevation data (interpolating when you have missing information).

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.
The following user(s) said Thank You: Marleine

Spatial and temporal varying boundary conditions two boundaries 1 month 3 weeks ago #44319

  • Marleine
  • Marleine's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 32
Thank you Chi-Tuan,
I did the interpolation. I was just wondreing if another way exists.

Best Regards,
Marleine
The administrator has disabled public write access.
Moderators: pham

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