Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Alternative Navier-Stokes/ TKE equations: programming porosity

Alternative Navier-Stokes/ TKE equations: programming porosity 7 years 2 weeks ago #28116

  • jmhervouet
  • jmhervouet's Avatar
Hello,

You should not add a bief_object called MESH, what you need here is the 3D mesh called MESH3D in Telemac-3D, so :

USE DECLARATIONS_TELEMAC3D, ONLY: PRIVE2D, NPLAN,MESH3D

and then:

CALL BIEF_ALLVEC(1,MASKEL,'MASKEL',40,1,1,MESH3D)


With best regards,

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

Alternative Navier-Stokes/ TKE equations: programming porosity 7 years 1 week ago #28174

  • SDAC
  • SDAC's Avatar
Thankyou for your reply.

I did try using MESH3D however I started got the "segmentation fault - invalid memory reference" error, which makes me think the compiler does not like something. The only warning I get about my code is:

CALL OS('X=C ',X=MASKEL,C=1.D0)
1
Warning: character length of actual argument shorter than of dummy argument 'op' (4/8) at 1

I have yet to find anything that suggests the two are linked however. The segmentation fault makes me think that I'm trying to make Telemac do something it can't. MASKEL is being assigned a double precision number rather than an array as I want to try uniform volumes/porosity at different layers. Can MASKEL only be assigned an array, and could this be the source for the above error?

Many thanks and kind regards.
The administrator has disabled public write access.

Alternative Navier-Stokes/ TKE equations: programming porosity 7 years 1 week ago #28178

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
The problems comes from the first argument of the call OS.
you should write 'X=C.....'!
8 characters long so fill with some space

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: SDAC
  • Page:
  • 1
  • 2
Moderators: pham

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