Internal faces assoscated to a cell

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
James McNaughton

Internal faces assoscated to a cell

Post by James McNaughton »

Is there a simple method to find the internal faces associated with a cell? (Something like ipnfac or ifacel)
Thanks,
James
Mickael Hassanaly

Re: Internal faces assoscated to a cell

Post 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
James McNaughton

Re: Internal faces assoscated to a cell

Post 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
Mickael Hassanaly

Re: Internal faces assoscated to a cell

Post 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
Post Reply