Page 1 of 1
Internal faces assoscated to a cell
Posted: Thu Jan 06, 2011 10:32 pm
by James McNaughton
Is there a simple method to find the internal faces associated with a cell? (Something like ipnfac or ifacel)
Thanks,
James
Re: Internal faces assoscated to a cell
Posted: Fri Jan 07, 2011 12:40 pm
by Mickael Hassanaly
Dear M McNaughton,
There is no simple array giving you the internal faces associated to a cell. But you can still build your own one bu using ustbus.f90 routine and taking inspiration from /src/labr/lagdeb.f90 routine.
Best regards
Mickaël Hassanaly
Re: Internal faces assoscated to a cell
Posted: Fri Jan 07, 2011 3:15 pm
by James McNaughton
Thanks for the advice Mickael I will write my own script.
I have no lagdeb subroutine is there a different subroutine that you might have meant? (I use v2rc2 and so ustbus also no longer exists but achieved in usini1 in the subroutine ustbtr).
Thanks,
James
Re: Internal faces assoscated to a cell
Posted: Fri Jan 07, 2011 4:25 pm
by Mickael Hassanaly
Dear M McNaughton,
You will find lagdeb.f90 in the folder where Code_saturne is installed. It should look like /home/saturne/Code_Saturne/2.0-rc2/src/ncs-2.0.0-rc2/src/lagr.
ustbus.f90 is an old routine, sorry. In the way to allocate your connectivity array, you will have to ask more memory. To do this, you will have to complete nituse and nrtuse parameters at the end of usini1.f90 routine.
Best regards
Mickaël Hassanaly