CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > FLOW-3D

What are the index of cells below the cell with index of <ijk>?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 5, 2015, 00:04
Default What are the index of cells below the cell with index of <ijk>?
  #1
New Member
 
Wang Ming
Join Date: Nov 2013
Posts: 4
Rep Power: 13
diligentwhq is on a distinguished road
Hello everyone. I want to get the index of cells below the cell with index of <ijk> and assign values to these cells. The first one below <ijk> was <ijk-ii1> and the second one was <ijk-ii2>. When I use <ijk-ii3> to label the cell of the third layer blow the current cell <ijk>, it seems that the assign values to this cell was failed. And if I use <ijk-ii4> in the subroutine, it was ok to build the subroutine but error would occur when preprocess the simulation. So, what's the rule of defining the index of cell according to the current cell index <ijk> in FLOW-3D?


The error information when using <ijk-ii4> was as follows:
forrtl: severe (157): Program Exception - access violation
Image PC Routine Line Source
hydr3d.exe 0000000140008F1C Unknown Unknown Unknown
hydr3d.exe 00000001401CD995 Unknown Unknown Unknown
hydr3d.exe 000000014029F1A6 Unknown Unknown Unknown
hydr3d.exe 000000014081DF8C Unknown Unknown Unknown
hydr3d.exe 0000000140747545 Unknown Unknown Unknown
kernel32.dll 00000000771159ED Unknown Unknown Unknown
ntdll.dll 000000007724C541 Unknown Unknown Unknown
***********************************************
**** Running preprocessor ****
***********************************************


Abnormal exit from preprocessor
Simulation run complete
SolverRunner disconnected
diligentwhq is offline   Reply With Quote

Old   July 8, 2015, 22:30
Default
  #2
New Member
 
Wang Ming
Join Date: Nov 2013
Posts: 4
Rep Power: 13
diligentwhq is on a distinguished road
I have found that I have made a mistake. <ijk-ii1> was the cell to the back of <ijk> in y direction and <ijk-ii2> was the cell to bottom of <ijk> in z direction, which was the one I need in my subroutine. The cells index below <ijk> can be achieved by subtract ii2 successively.


Quote:
Originally Posted by diligentwhq View Post
Hello everyone. I want to get the index of cells below the cell with index of <ijk> and assign values to these cells. The first one below <ijk> was <ijk-ii1> and the second one was <ijk-ii2>. When I use <ijk-ii3> to label the cell of the third layer blow the current cell <ijk>, it seems that the assign values to this cell was failed. And if I use <ijk-ii4> in the subroutine, it was ok to build the subroutine but error would occur when preprocess the simulation. So, what's the rule of defining the index of cell according to the current cell index <ijk> in FLOW-3D?


The error information when using <ijk-ii4> was as follows:
forrtl: severe (157): Program Exception - access violation
Image PC Routine Line Source
hydr3d.exe 0000000140008F1C Unknown Unknown Unknown
hydr3d.exe 00000001401CD995 Unknown Unknown Unknown
hydr3d.exe 000000014029F1A6 Unknown Unknown Unknown
hydr3d.exe 000000014081DF8C Unknown Unknown Unknown
hydr3d.exe 0000000140747545 Unknown Unknown Unknown
kernel32.dll 00000000771159ED Unknown Unknown Unknown
ntdll.dll 000000007724C541 Unknown Unknown Unknown
***********************************************
**** Running preprocessor ****
***********************************************


Abnormal exit from preprocessor
Simulation run complete
SolverRunner disconnected
diligentwhq is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[mesh manipulation] how should we remove the Concave cells from the mesh? s.m OpenFOAM Meshing & Mesh Conversion 20 March 5, 2020 17:35
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
FvMatrix coefficients shrina OpenFOAM Running, Solving & CFD 10 October 3, 2013 15:38
[ICEM] error analysis despaired student ANSYS Meshing & Geometry 7 June 27, 2012 12:57
[snappyHexMesh] snappyHexMesh aborting Tobi OpenFOAM Meshing & Mesh Conversion 0 November 10, 2010 04:23


All times are GMT -4. The time now is 20:15.