|
[Sponsors] |
New SRFSimpleFoam Solver without coriolis and centrifuga treml |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 7, 2014, 08:43 |
New SRFSimpleFoam Solver without coriolis and centrifuga treml
|
#1 |
Senior Member
|
Hi every one,
I am looking for a help from you people, I am trying to mimic the SRFSimpleFoam solve without Coriolis and centrifugal force term. I have very small experience in creating/editing solvers, I have edited successfully MRFSimpleFoam, it was very simple, just I removed Coriolis term in UEqn.H. then I complied it. In the case of SRFSimpleFoam, I tried to subtract the effect of those two forces in the UrelEqn.H, but its not working. what is the right way to do it? please give me some information... Error Message: In file included from mySRFSimpleFoam.C:62:0: UrelEqn.H: In function ‘int main(int, char**)’: UrelEqn.H:8:14: error: ‘omega_’ was not declared in this scope UrelEqn.H:8:23: error: ‘Urel_’ was not declared in this scope UrelEqn.H:9:29: error: ‘mesh_’ was not declared in this scope make: *** [Make/linux64GccDPOpt/mySRFSimpleFoam.o] Error 1 Thanks in advance, Sivakumar |
|
May 7, 2014, 09:11 |
|
#2 |
Senior Member
|
Hi There,
I think, I got it, Just I need to remove the, SRF -->Su from the UrelEqn.H in the SRFModel.C Foam:: SRF::SRFModel::Su() const { return Fcoriolis() + Fcentrifugal(); } So I think, I need to remove only this term from the relative momentum predictor I am right or wrong? Please give me your suggestions, Thanks, Sivakumar |
|
|
|